I dont know how to programmatically login to this site I’ve searched through stackoverflow
Share
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.
When I just type in username ‘abc’ and password ‘def’ and hit the button I get the following post data:
So that leads me to beleive if you just use that post data and replace it with the appropriate information, you can simulate a manual login.
So from the stack overflow you linked, this would take the form:
Note that in future requests you will need to then use whatever the cookie value that is returned to maintain your authenticated status.