Resources:

https://curl.haxx.se/docs/httpscripting.html

Notes:

curl -X <proto> <url>

curl -d "@data.txt" -X POST http://localhost:3000/data

curl  -d "@payload.json" -X PUT http://localhost:19200/   -H "Content-Type: application/json"

From: https://gist.github.com/subfuzion/08c5d85437d5d4f00e58

Common Options