Simple Command Line Wrapper around Request
CoffeeScript JavaScript
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
bin
test
.gitignore
.npmignore
Cakefile
LICENSE
index.coffee
index.js
package.json
readme.md

readme.md

GET-POST

Two CLI applications that connect to http servers using json

Installation

npm install get-post -g

GET

Usage

get http://twitter.com/search.json?q=nodejs

POST

Usage

echo '{"Hello": "World"} | post http://echo-json.heroku.com

FAQ

  • Why?

Because with curl I just got tired of typeing -H 'Content-Type: application/json'

Thanks

  • Mikeal Rogers for Request
  • Ryan Dahl for Nodejs

License

See LICENSE

Contribute

Contributions Welcome!