I am writing to java under android, sending a post request with data, the server says:

Click here to continue.

Thus the post-request is not executed to the end, what to do with javascript? post request via httpurlconnection , thanks in advance

  • If it was originally intended that POST requests to the server were sent from some web page, and not as an API for applications, then perhaps the server is checked for the absence of some fields and / or transmitted headers in the POST request to the server. If you can monitor the original POST requests to the server that work successfully, look, maybe you missed some data or HTTP headers, on the basis of which the server concludes that you do not have JS support. - ragmon
  • no, everything is OK with headers and data too (I am writing a personal account of the mobile operator and are in the replenishment stage of the account, I send the final data to the server, the server must accept and send to the mobile phone a 3d code, so javascript is needed for the campaign - SWR
  • no luck hike - SWR
  • Did you try to substitute User-Agent headers? So that the server thought that the request was sent from a browser that exactly has JS support? - ragmon
  • I registered it, but it did nothing (still the server returns the code of the page where it says that javascript is disabled and you need to press the continue button, is there really no way out of this situation ... - SWR

0