visionmedia/superagent client only version.
Install with component(1):
$ component install chemzqm/request
Perform http request get|put|delete|post|post|head
with url.
Add query string to url, could be called multiply times.
Set header/heaers to the request, could be called multiply times.
Error is not null if either network error or response status code is not ok.
res.text
is response text, res.body
is available used if response type is json
err.message would be res.body.message
if it's exist.
res.header
is the object contains response headers.
MIT