Good day!

There is a button:

<span class="surf_ckick" onclick="start_surfing('viewing_surfing?id=287606', '287606'); this.style.textDecoration='line-through'; this.style.color='#FF3800'; ">Меняем время на деньги!Без вложений</span> 

How do I click on it via HttpURLConnection ?

Thank you in advance)

    1 answer 1

    Click on this button in the browser, and, with the help of the sniffer, see which query is executed with this click. Having information about the request, it can be reproduced using HttpURLConnection .

    • How to make a sniffer? - as1andrey1
    • @ as1andrey1, He does not need to do. You can use a simple browser add-on, for example, Live HTTP Headers (for Google Chrome , for FF ). For more complex tasks, you can use something like Wireshark. - post_zeew