1.0.1 • Published 9 years ago
questor v1.0.1
questor
Promise based HTTP client inspired by clj-http
Usage
var questor = require('questor');
questor('https://github.com').then(function (res) {
// Request was successful
console.log(res.body); // Contains the response body
console.log(res.headers); // Contains the response headers
console.log(res.status); // Contains the response status code
}, function (err) {
// Request failed
console.log(err);
});
TODO
- Small resulting browserify bundle
- Streaming request and response bodies
- Types for requests, responses and errors
1.0.1
9 years ago
1.0.0
10 years ago
1.0.0-alpha.3
10 years ago
1.0.0-alpha.2
10 years ago
1.0.0-alpha.1
10 years ago
1.0.0-alpha
11 years ago
0.0.3
11 years ago
0.0.2
11 years ago
0.0.1
11 years ago