...
To receive an answer in automatic mode, you must:
In the request, when creating a task
/in.php
(RuCaptcha) or/ createTask
(Anti-Captcha), pass your URL in thepingback
(RuCaptcha) orcallbackUrl
(Anti-Captcha) parameter, to which a response will be sent.Process the HTTP POST request that comes from our server to your URL. According to RuCaptcha API, data comes as
URLencoded FormData (application / x-www-form-urlencoded)
. The request contains two parameters:id
(ID of your captcha) andcode
- the answer to it. According to the API of the Anti-Сaptcha v2 service, the content is identical to the response of the /getTaskResult
method.
Recognition of CapMonster2 captchas sent from your other server
...
Now the server that sends captchas must use this IP address to send captchas to it. Here, either you yourself can specify this IP in the program as a recognition service, or you need to register redirection from anigate antigate.com (or another service that you use to recognize captchas) to the selected IP.
This is done in the hosts file located in the C:\Windows\System32\drivers\etc\hosts
folder by adding an entry:
192.168.1.10 anigateantigate.com
where 192.168.1.10 is your local IP.
...