near_me
开始使用
keyboard_arrow_down

games
文档-游戏
keyboard_arrow_down

local_mall
资源
keyboard_arrow_down
class
关于
menu UAPI 文档

UAPI

此API已被调用 230 次

接口:https://uapis.cn/api/hashmd5?hash=密文&text=原文

GET/POST 密文散列值对比
  • 请求参数
  • 返回结果
  • 返回数据结构
  • GET/POST 密文散列值对比

    GET/POST /api/hashmd5

    请求参数

    名称 位置 类型 必选 说明
    hash query string 密文
    text query string 原文

    成功-返回示例

    {
        "code": 200,
        "msg": "success",
        "text": "我要和小闲一辈子在一起qwq!!!",
        "md5": "fe3816ef43ffb2ab3fbc04c9ec4d6592"
    }

    400-参数不完整

    {
        "code": 400,
        "msg": "The request data is incorrect or empty"
    }

    405-请求方式错误

    {
        "code": 405,
        "msg": "Unsupported request method"
    }

    500-原文和密文不同

    {
        "code": 500,
        "msg": "The hash value of the original text and ciphertext does not match"
    }

    返回结果

    状态码 状态码含义 说明 数据模型
    200 OK 成功 Inline
    400 Unprocessable Entity The request data is incorrect or empty Inline
    405 Incorrect request method 不支持的请求方式 Inline
    500 The original text is inconsistent with the ciphertext 原文与密文不符 Inline

    返回数据结构

    状态码 200

    名称 类型 必选 约束 中文名 说明
    » code number true none 返回码 none
    » msg string true none 状态 none
    » text number true none 原文 none
    » md5 number true none 密文 none

    状态码 500

    名称 类型 必选 约束 中文名 说明
    » code number true none 返回码 none
    » msg string true none 错误信息 none