post-json

0.3.1 • Public • Published

post-json

wrapper for posting json with hyperquest

Build Status
NPM

install

npm install post-json

test

./bin/test

example

var postJson = require("post-json")

var url = "http://my-post-url.net/path"
var body = {my: "test", data: "fun"}

postJson(url, body, function (err, result) {
  // do stuff
})

Package Sidebar

Install

npm i post-json

Weekly Downloads

38

Version

0.3.1

License

BSD-2-Clause

Last publish

Collaborators

  • dstokes
  • dguttman
  • tphummel