PDA

View Full Version : How to submit web form from Linux command line?



Fli
05-06-2018, 10:52 AM
How to submit web form from Linux command line?


curl -X POST -F 'username=usernamehere' -F 'password=something' http://domain.tld/post-to-me.php

Where the username and password are fields that you want to fill in :)

With the exception of javascript support, curl is basically a fully fledged browser, where you can send commands one by one ;)