You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
| softId | 4582 | your software ID obtained after publishing in [2captcha software catalog]|
81
+
| softId | 4582 | your software ID obtained after publishing in [2captcha sofware catalog]|
81
82
| callback | - | URL of your web-sever that receives the captcha recognition result. The URl should be first registered in [pingback settings] of your account |
82
83
| defaultTimeout | 120 | Polling timeout in seconds for all captcha types except reCAPTCHA. Defines how long the module tries to get the answer from `res.php` API endpoint |
83
84
| recaptchaTimeout | 600 | Polling timeout for reCAPTCHA in seconds. Defines how long the module tries to get the answer from `res.php` API endpoint |
84
85
| pollingInterval | 10 | Interval in seconds between requests to `res.php` API endpoint, setting values less than 5 seconds is not recommended |
86
+
| json | 0 | Json or String format response from `res.php` API endpoint, extendedResponse = 1 returns JSON format response |
85
87
86
88
> **IMPORTANT:** once `Callback` is defined for `TwoCaptcha` instance, all methods return only the captcha ID and DO NOT poll the API to get the result. The result will be sent to the callback URL.
87
89
To get the answer manually use [getResult method](#send--getresult)
0 commit comments