go-common/app/interface/live/web-room/api/http/v1/captcha.captcha.md
2019-04-22 18:49:16 +08:00

823 B

需要登录

GET http://api.live.bilibili.com/xlive/web-room/v1/captcha/create

请求参数

参数名 必选 类型 描述
type integer
client_type string
height integer
width integer
{
    "code": 0,
    "message": "ok",
    "data": {
        "type": 0,
        "geetest": {
            "gt": "",
            "challenge": ""
        },
        "image": {
            "tips": "",
            "token": "",
            "content": ""
        }
    }
}

需要登录

POST http://api.live.bilibili.com/xlive/web-room/v1/captcha/verify

请求参数

参数名 必选 类型 描述
anti string
{
    "code": 0,
    "message": "ok",
    "data": {
        "type": 0,
        "token": ""
    }
}