CURL Post a file in json format
I keep having to look this up, so putting it here ought to save some time. When attempting to post a block of JSON to a web service the Curl incantation is :
curl -X POST -H 'content-type: application/json' -d @myjsonfile.txt http://some.url/param