Simple Command Line Wrapper around Request
JavaScript CoffeeScript
Pull request Compare This branch is 5 commits behind twilson63:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
bin
.gitignore
.npmignore
Cakefile
index.coffee
index.js
package.json
readme.md

readme.md

get-post json cli

Simple NodeJs json http request command-line client. A cli wrapper around Request by Mikeal Rogers. Everything gets or posts via content-type application/json.

Installation

npm install get-post -g

Usage

Do a simple get as 'application/json' :

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

Do a simple json post:

post http://echo-json.heroku.com '{"hello":"world"}'

Thanks

  • Mikeal Rogers for Request
  • Ryan Dahl for Nodejs