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

readme.md

get-post

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

Installation

npm install get-post -g

Usage

Do a simple get as 'application/json' :

get "http://echo.heroku.com/1c97badde"

Do a simple json post:

post http://echo.heroku.com/1c97badde {"hello":"world"}
Something went wrong with that request. Please try again.