...
Parameter | Type | Required | Description |
---|---|---|---|
clientKey | string | yes | Your client key |
type | string | yes | CloudFlare5STask |
websiteURL | string | yes | website url, usually a fixed value. |
proxy | string | yes | The proxy you used to access the website |
rqData | Object | optional | if you add this parameter, it will be sent as post request, like:
|
Request Example
Code Block |
---|
POST https://api.ez-captcha.com/createTask Content-Type: application/json { "clientKey": "cc9c18d3e263515c2c072b36a7125eecc078618fYourClientKey", "task": { "websiteURL": "https://xxx.com", "type": "CloudFlare5STask", "proxy": "http://username:password@ip:port", "rqData":{ //optional "mode":"JSON",//JSON or FORM is determined based on the submission method of the webpage. If you need to send it in POST format, you must add this value "name1":"value1",//your key "name2":123456, ... }, } } |
Reponse Example
Code Block |
---|
{ "errorId": 0, "errorCode": "", "errorDescription": "", "taskId": "61138bb6-19fb-11ec-a9c8-0242ac110006" // Please save this ID for next step } |
...