Curl Command To Send Data In A File To A Form

curl -i -X POST -H "Content-Type: application/x-www-form-urlencoded; charset=UTF-8" -d @testcurl.txt "http://www.example.com/someform.php"

The contents of the file testcurl.txt will be posted to the form.

Add new comment

The content of this field is kept private and will not be shown publicly.