I wanted to automate some load testing at work, this required sending some post requests to a running server in order to increase the amount of 'work' being done. I wanted to use 'curl' as it's a linux command line app and so very easy to incorporate in a script.
Anyway, this is how you post data with curl:
curl -d "param1=value1¶m2=value2" http://myhost.com/server.cgi
No comments:
Post a Comment