![]() ![]() Basic exampleĮxample below shows a basic solver call example with error handling. Check out examples directory to find more examples with all available options. Java library for easy integration with the API of 2captcha captcha solving service to bypass recaptcha, hcaptcha, funcaptcha, geetest and solve any other. Hint or task text shown to workers with the captchaīelow you can find basic examples for every captcha type. Captcha options Optionĭefines if captcha contains numeric or other symbols see more info in the API docsĭefines if the answer contains multiple words or notĭefines the captcha language, see the list of supported languagesĪn image with hint shown to workers with the captcha When you submit any image-based captcha use can provide additional options to help 2captcha workers to solve it properly. To get the answer manually use getResult method Solve captcha The result will be sent to the callback URL. 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 first request delivers the data necessary for the CAPTCHA. Interval in seconds between requests to res.php API endpoint, setting values less than 5 seconds is not recommended 2Captcha solves a number of different CAPTCHA styles all with mostly the same two API endpoints. Defines how long the module tries to get the answer from res.php API endpoint Polling timeout for ReCaptcha in seconds. Polling timeout in seconds for all captcha types except ReCaptcha. The URl should be first registered in pingback settings of your account URL of your web-sever that receives the captcha recognition result. You send a post request with full pageurl and google site key, our server will return a Google-token that would be used to fulfil forms on ReCaptcha V2 protected sites. Your software ID obtained after publishing in 2captcha sofware catalog Recaptcha V2/Recaptcha V3/I am not a robot/Invisible captcha API Bypass google ReCaptcha V2, recaptcha V3 also known as I'm not a robot Captcha is pretty simple. PollingInterval = 10 TwoCaptcha instance options Option ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |