Posting data to a url curl -d "param1=123¶m2=456" http://example.com Posting a multi-part request with a photo attachment curl -F "photo=@myphoto.jpg" -F "param1=123" -F "param2=456" http://example.com