I am trying to fill a form of a webpage with curl and give it some arguments. Dumb enough, it also sends a hidden form in which there is an unique token which has to be sent back to the page, a so called CSRF Token. So I can get that token with wget and parsing, but I just established the wget connection and downloaded the site, and then closed the connection without needing that token. I want to do
How to pass the valid token? How to establish a connection, hold it and pass the read token?