No description or website provided.
Latest commit 23f0d6a Jul 17, 2011 @ianjorgensen bumped version
Permalink
Failed to load latest commit information.
node_modules added get, getJSON, post and postJSON Jul 17, 2011
README.md typo fixed Jul 17, 2011
index.js bug fixes in post Jul 17, 2011
package.json bumped version Jul 17, 2011
tst-server.js bug fixes in post Jul 17, 2011

README.md

CURL -- Simple client url library, with high level request functions

Install

  npm install curl

Or from source:

  git clone git://github.com/ianjorgensen/curl.git 
  cd curl
  npm link .

Functions

curl.get

curl.get(url, options, function(err, response, body) {});

curl.post

curl.post(url, body, options, function(err, response, body) {});

curl.getJSON

curl.getJSON(url, options, function(err, response, data){});

curl.postJSON

curl.postJSON(url, data, options, function(err, response, data){});