JackHQ

0 notes

NodeJs CLI get-post 0.1.0 released!

New Release of get-post!

Verson 0.1.0

This version refines the api and now the library can be used via command line or inside a node module.

How to use get-post?

Using the “GET” command is easy, and simply returns json from the endpoint.

Once installed via global node modules path, then you should be able to open a terminal and type:

get

And receive this:

Just follow the example:

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

POST

Using the POST has been modified to take a stream of JSON as input instead of having to type the json document in the console.

cat my.json | post http://echo-json.heroku.com

How to Install

npm install get-post -g

Github

https://twilson63@github.com/twilson63/get-post