请求节点:
Status | ||||
---|---|---|---|---|
|
https://api.ez-captcha.com
colour | Green |
---|---|
title | 国内节点 |
https://api.ez-captcha.com
请求地址: Request api: https://api.ez-captcha/getTaskResult
请求格式:Request format: POST
application/json
每个任务创建后 5
分钟内可以查询
请求参数
...
参数
...
类型
...
必须
...
说明
Result token can be queried within 5 minutes after each task is created
Request Parameters
Parameters | Type | Required | Description | |
---|---|---|---|---|
clientKey | string | 是 | 帐户密钥,可以在个人中心找到true | Account client key, which can be found in the personal center |
taskId | string | 是 | 通过 createTask 方法创建得到的 ID |
请求示例:
true | The task ID created by the createTask method |
Request Example
Code Block |
---|
POST https://api.ez-captcha.com/getTaskResult Host: ez-captcha.com Content-Type: application/json { "clientKey":"YOUR_API_KEY", "taskId": "TASKID OF CREATETASK" //由createTask方法创建的ID ID created by createTask method } |
...
Response Data
...
Parameters | 参数Type | 类型 | 说明Description |
---|---|---|---|
errorId | Integer | 错误提示: Error message: 0 - 没有错误,1 - 有错误no error, 1 - error | |
errorCode | string错误代码 | Error Code | |
errorDescription | string错误详细描述 | Detailed error description | |
status | String | processing - 正在识别中 task is in progress ready - 识别完成,在solution参数中找到结果 task is complete, the result is found in the solution parameter | |
solution | Object | 识别结果,不同类型的任务结果会有所区别。 |
...
Task results, different types of task results will be different. |
Response Example
Code Block |
---|
{ "errorId": 0, "errorCode": null, "errorDescription": null, "solution": { "gRecaptchaResponse": "03AGdBq25SxXT-pmSeBXjzScW-EiocHwwpwqtk1QXlJnGnUJCZrgjwLLdt7cb0..." }, "status": "ready" } |
...