0.0.6 • Published 10 years ago
request.js v0.0.6
request.js
Simple and lightweight JavaScript library (Node.JS and browsers) to make HTTP requests.
request({
method: 'post',
url: 'http://example.com',
body: [{foo: 'bar'}, {'bar': foo}],
headers: {
'X-Powered-By': 'request.js'
},
username: 'foo',
password: 'bar'
},
function(err, body) {
},
function(progress) {
}
});
Support
Engine | Version |
---|---|
Node.js | ≥ 0.8 |
Chrome | ≥ 30 |
Firefox | ≥ 23 |
...? | ...? |