Posted on 2012-03-04
Just so I don't have to keep looking at the documentation, here's how to do a POST request with curl:
curl -v -X POST --data "urlencoded-data" url
For example:
curl -v -X POST --data "first=Joe&last=Smith" http://example.com/form.html
Tags: curl POST http