Increasingly I find I am posting JSON all over the place.
This linux snippet comes in handy for doing this.
curl http://example.com/script \
-H "content-type: application/json" -d "{ \"woof\": \"bark\", \"de\": \"do doo\" }"
Hope this helps :-)
784 comments,
Linux, Saturday, September 11, 2010 17:44


