Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Simple Command Line Wrapper around Request
CoffeeScript JavaScript
Tree: 4eae54ae7e

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
bin
test
.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
Something went wrong with that request. Please try again.