Perform a POST with curl

For reference here is how you would perform a POST using curl.

Replace request body with what you need to post, for example ‘someParam=value’.

curl -H "Content-Type: plain/text" -X POST -d 'request body' http://example.com/posthandler

Leave a Reply

Your email address will not be published. Required fields are marked *