Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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:

rqData: { "namemode": "valueJSON" ...}

Request Example

Code Block
POST https://api.ez-captcha.com/createTask

Content-Type: application/json

{
    "clientKey": "YourClientKey",
    "task": {
        "websiteURL": "https://xxx.com",
        "type": "CloudFlare5STask",
        "proxy": "http://username:password@ip:port",
        "rqData":{                   //optional
            "TheKey":"TheValue","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":number,
            ...
        },

    }
}

Reponse Example

Code Block
{
    "errorId": 0,
    "errorCode": "",
    "errorDescription": "",
    "taskId": "61138bb6-19fb-11ec-a9c8-0242ac110006" // Please save this ID for next step
}

...