npm.io
0.1.4 • Published 15 years ago

curl

Licence
Version
0.1.4
Deps
2
Vulns
1
Weekly
0

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){});