-d @FILE - Send FILE with the request-X METHOD - Set HTTP request method-H HEADER - Add HEADER to request headers$ cat data.json
{"name": "brett","talk": "curl"}
$ curl -X POST -d @data.json \
-H "Content-Type: application/json" http://httpbin.org/post
{
"data": "{\"name\": \"brett\",\"talk\": \"curl\"}",
"json": {
"talk": "curl",
"name": "brett"
},
"headers": {
"Content-Type": "application/json",
...
}