How to sign in to vanilla using wget or curl?

curl --data "TransientKey=727cb5f2c699f021&hpt=&Target=categories&ClientHour=2014-09-30+04%3A00&Email=qwe&Password=12345&Sign_In=Sign+In&Checkboxes%5B%5D=RememberMe" --dump-header headers -o log.html http://localhost/entry/signin

Trying to do this but got only Please try again.

Comments

  • it is possible but not the done thing. You would need a cookie jar to persist the session.

    Use an API such as the API application.

    This is very crude, if you have alternatives.

    grep is your friend.

Sign In or Register to comment.