$ curl -s -i -X POST \
-H 'Content-Type: application/json' \
-d '{"path": "resources/1pauth/cpu", "content": { "cpucritical": "95", "cpuwarning": "85" }}' \
http://localhost:4577/stashes
# - i - include header in output
# - H - request headers
# - X - method
$ curl --mail-from blah@test.com --mail-rcpt foo@test.com smtp://mailserver.com
$ curl -x proxysever.test.com:3128 http://google.co.in
$ curl dict://dict.org/d:bash
$ curl dict://dict.org/show:db
$ curl dict://dict.org/d:bash:foldoc
$ curl -v http://google.co.in
$ curl -u ftpuser:ftppass -T myfile.txt ftp://ftp.testserver.com
$ curl -u ftpuser:ftppass -T "{file1,file2}" ftp://ftp.testserver.com
$ curl -u ftpuser:ftppass -T - ftp://ftp.testserver.com/myfile_1.txt
$ curl ftp://ftp.uk.debian.org/debian/pool/main/[a-z]/
$ curl -u ftpuser:ftppass -O ftp://ftp_server/public_html/xss.php
$ curl -u ftpuser:ftppass -O ftp://ftp_server/public_html/
$ curl -u username:password URL
$ curl -z 21-Dec-11 http://www.example.com/yy.html
$ curl -z -21-Dec-11 http://www.example.com/yy.html
$ curl --limit-rate 1000B -O http://www.gnu.org/software/gettext/manual/gettext.html
$ curl -O http://www.gnu.org/software/gettext/manual/gettext.html
$ curl http://www.google.com
$ curl -O URL1 -O URL2
$ curl -O http://www.gnu.org/software/gettext/manual/html_node/index.html -O http://www.gnu.org/software/gettext/manual/gettext.html
$ curl -o mygettext.html http://www.gnu.org/software/gettext/manual/gettext.html
$ curl -O http://www.gnu.org/software/gettext/manual/gettext.html
$ curl http://www.centos.org