near_me
开始使用
keyboard_arrow_down

games
文档-游戏
keyboard_arrow_down

local_mall
资源
keyboard_arrow_down
class
关于
menu UAPI 文档

UAPI

此API已被调用 408 次

接口: https://uapis.cn/api/textqrcode?text=文本

GET 文字转二维码
  • 请求参数
  • 返回结果
  • 返回数据结构
  • GET 文字转二维码

    GET /api/textqrcode

    请求参数

    名称 位置 类型 必选 说明
    text query string 要转换的文本

    成功-返回示例

    {
        "text": "测试文本",
        "qrcode": "https://uapis.cn/api/qrcode/imgtemp/d9f09b7badda07e6db79008e3e05a69d.png"
    }

    422 Response

    {
        "error": "文本参数无效"
    }

    返回结果

    状态码 状态码含义 说明 数据模型
    200 OK 成功 Inline
    422 Unprocessable Entity 参数错误 Inline

    返回数据结构

    状态码 200

    名称 类型 必选 约束 中文名 说明
    » text number true none 输入的文本 none
    » qrcode number true none 输出的二维码链接 none

    状态码 442

    名称 类型 必选 约束 中文名 说明
    » error number true none 文本参数无效 none