{域名地址}/api/captcha
illustrate:{域名地址}
You need to replace it with your domain address, such as/api/captcha
GET
none
Field name |
type |
illustrate |
code |
int |
Error code |
msg |
string |
Error Cause Description |
data |
object |
captcha content |
Field name |
type |
illustrate |
captcha |
string |
Base64 encoded string for captcha graphic verification code |
captcha_id |
string |
The ID of the captcha graphic verification code |
none
{
"code": 0,
"data": {
"captcha": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAPAAAABMCAIAAADcP63LAAAVH0lEQVR4nO...",
"captcha_id": "g0HFYRQUrC9rYbX2EZMH"
},
"msg": ""
}
Error code |
illustrate |
0 |
OK |
-1 |
Error, the cause of the error is pointed out in msg |
1001 |
Not logged in |
1002 |
Unauthorized |
200 |
API request OK |