curl -H "Content-Type: application/json" -X POST -d '{"key":"value"}' http://example.com
curl -X POST -d @/path/to/myfile http://example.com
http://stackoverflow.com/questions/3007253/send-post-xml-file-using-curl-command-line
curl \
-F "key1=1" \
-F "key2=2" \
-F "file=@/path/to/myfile" \
http://example.com
http://stackoverflow.com/questions/12667797/using-curl-to-upload-post-data-with-files