September 2011
1 post
get-post - Simple JSON CLI
get-post is a little nodejs project that provides two command line applications:
get and # post
This applications allow you to get json from a server or post json to a server. It is that simple.
get http://twitter.com/search.json?q=nodejs
post http://echo-json.heroku.com '{"hello":"world"}'
Pretty simple! YUUP!
Why
I got tired of writing curl -XPOST -d ‘…’ url...