what is the simplest script using cURL of clicking a certain button on a website?
Thanks
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Your best bet is to use something like Firebug or the Live HTTP Headers plugin (both are for Firefox) to try actually clicking the button and seeing what is going into the resulting request. Then try to replicate it.
Here’s a simple example, though:
a form on a web site:
Typing “Some value number one” in the first box, typing “Some value number two” in the second box, and clicking the submit button would generate a request that looks something like
which would translate into a cUrl command like