A tiny http+json post utility
JavaScript
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitattributes
.gitignore
package.json
postit.js
readme.md

readme.md

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