Address: createTask
Method: POST
Content-type: application-json
Property | Type | Required | Purpose |
---|---|---|---|
clientKey | String | Yes | |
task | Object | Yes |
curl -i -H "Accept: application/json" \
-H "Content-Type: application/json" \
-X POST -d '{
"clientKey":"YOUR_API_KEY",
"task":
{
"type":"RecaptchaV2TaskProxyless",
"websiteURL":"http://makeawebsitehub.com/recaptcha/test.php",
"websiteKey":"6LfI9IsUAAAAAKuvopU0hfY8pWADfR_mogXokIIZ"
}
}' createTask
Property | Type | Purpose |
---|---|---|
errorId | Integer | Error identifier. 0 - no errors, operation completed successfully. >0 - error identifier. Error code with short description are available in errorCode and errorDescription properties. |
errorCode | String | |
errorDescription | String | Short description of the error |
taskId | Integer |
{
"errorId": 0,
"taskId": 7654321
}