Good day to all.

Most recently, I figured out how to send a POST request from an application to android using HttpUrlConnection. Now you need to send the same request, but only with the captcha, of course, while spars it. Well, it is logical that a captcha request and a request should be a single connection. Well or somehow so that the relevant captcha was sent, and not from the previous request.

As I understand it, one cannot do with HttpUrlConnection.

PS I don’t do anything illegal, I just want to send comments to the site through the application on android.

  • those. you want to recognize captcha for input, I understand everything correctly? - Victor
  • @Victor, Probably not really. I will enter the captcha myself, as well as the POST request parameters. - Ivan
  • one
    I have long done such a thing, the source code is left. You need to open a page in backgrand in a webview, make a silent screenshot and a picture that turns out on the output, send to the captcha recognition service (the Hindus had a lot of them. Before) in return they send a string with a captcha. And then substitute it in your POST request. There are no other options, I think - Android Android

0