Skip to content

Instantly share code, notes, and snippets.

@twilson63
Created April 27, 2012 14:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save twilson63/2509697 to your computer and use it in GitHub Desktop.
Save twilson63/2509697 to your computer and use it in GitHub Desktop.
var request = require('request'),
url = 'http://nodejitsudb580558402218.iriscouch.com:5984/cloudq';
request.post(url,
{json: {body: "STUFF..."}},
function(err, res, body){
console.log('Success');
console.log(body);
}
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment