求解该验证码类型。
任务类型
AntiCloudflareTask
处理方式
异步 + 轮询 /getTaskResult
参数
| Field | Type | Required | Notes |
|---|---|---|---|
type |
string | yes | AntiCloudflareTask |
websiteURL |
string | yes | Protected page |
proxy |
string | yes | Public HTTP proxy; socks is rejected |
最小请求
{
"clientKey": "YOUR_API_KEY",
"task": {
"type": "AntiCloudflareTask",
"websiteURL": "https://www.example.com/protected",
"proxy": "http://USER:PASS@HOST:PORT"
}
}成功 solution
{
"cookies": "...",
"token": ""
}典型失败
ERROR_CAPTCHA_UNSOLVABLE, ERROR_BAD_REQUEST, ERROR_TASK_NOT_SUPPORTED