TlsForward 任务
通过使用同步接口创建任务 https://sync.ez-captcha.com/createSyncTask
中国优化地址:http://47.115.166.118:16000/createSyncTask
如果您得到了一个无效的Payload,请联系我们,我们将会为您解决和优化
任务类型
任务类型 | 描述 | 价格 | 价格(USD) |
---|---|---|---|
TlsTask | Tls 解决方案 | 1 POINTS | $0.1/1k |
向API发送POST请求。使用以下表单数据
Parameter | Type | Required | Description |
---|---|---|---|
tls_type | string | true | chrome107/chrome124/footlocker_ios_app |
proxy | string | true | http://username:password@host:port |
method | string | true | get/post/put/del |
url | string | true | target url |
headers | object | true | {“user-agent”:"Mozilla/5.0 (Windows NT 10.0; Win64…."} |
headers_order | string | true | user-agent,sec-ch-ua,sec-ch-ua-mobile |
cookies | object | true | {“_abck“:”xxx”,”bm_sz”:”xxxx”} |
body | string | true | “data=xxxx&aa=xxxx” or “{“xxx“:”xxxxx”}” |
创建任务
示例
POST https://sync.ez-captcha.com/createSyncTask
中国优化地址:http://47.115.166.118:16000/createSyncTask
Content-Type: application/json
{
"clientKey": "YourClientKey",
"task": {
"type": "TlsTask",
"tls_type": type, // chrome107/chrome124/footlocker_ios_app
"proxy": proxy, // http://username:password@host:port
"method": method, // get/post/put/del
"url": url, // https://xxxxxx
"headers": headers, // {"user-agent":"Mozilla/5.0 (Windows NT 10.0; Win64…."}
"headers_order": headersorder, // user-agent,sec-ch-ua,sec-ch-ua-mobile
"cookies": cookies, // {"_abck":"xxx","bm_sz":"xxxx""}
"body": body // data=xxxx&aa=xxxx / {"xxx":"xxxxx"}
}
}
返回示例
返回的Payload作为sensor data 通过post提交到对应接口
{
"errorId": 0,
"solution": {
"status": 0, // 0:fail 1:success
"msg": "", // fail info
"code": 0, // response code
"headers": {}, // response headers
"cookies": {}, // response cookies
"body": "", // response body
},
"status": "ready"
}