Menu

createTask: إنشاء مهمة حل رموز التحقق

العنوان: https://api.anti-captcha.com/createTask
الأمر: POST
Content-type: application-json

خصائص الطلب

الخاصية نوع الخاصية الأهمية الوظيفة
clientKey String مطلوبة
task Object مطلوبة
softId Integer غير مطلوبة
languagePool String غير مطلوبة تم النقل إلى نوع رمز التحقق ImageToTextTask.
callbackUrl String غير مطلوبة

مثال على الطلب

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"
        },
    "softId":0
}' https://api.anti-captcha.com/createTask


هيئة الاستجابة

الخاصية نوع الخاصية الوظيفة
errorId Integer مُعرف الخطأ.
0 - لا يوجد أخطاء، تمت العملية بنجاح.
معرف الخطأ >0 عبارة عن كود خطأ مزود بوصف مختصر يمكن الاطلاع عليه عن طريق errorCode و errorDescription
errorCode String
errorDescription String شرح مختصر للخطأ
taskId Integer

مثال على نتيجة الطلب

كود JSON بدون أخطاء
خطأ بكود JSON
{
    "errorId": 0,
    "taskId": 7654321
}