npm.io
0.0.1 • Published 12 years ago

postit

Licence
BSD-2-Clause
Version
0.0.1
Deps
0
Vulns
0
Weekly
0

postit

A tiny HTTP+JSON utility to post an object to a uri

  • Install

    $ npm install postit

  • Example

    var PostIt = require('postit');

    var poster = new PostIt('http://restapi.com/somepath');

    poster.post({ name: 'testevent', count:5 });

  • Dependenices

    None! Just uses http & url

Keywords