1.0.2 • Published 8 years ago
http-wrap v1.0.2
Usage
'use strict';
let Request = require('../');
Request({ method: 'GET', url: 'https://google.com' }) .then((data) => { / data = { statusCode: <int, status code of the request>, data: <string || object, body of the request. converts to JSON if the content-type is json>, headers: <object, headers from the request>, url: <string, the original url> } / });
1.0.2
8 years ago
1.0.1
8 years ago
1.0.0
8 years ago
1.0.0-beta3
8 years ago
1.0.0-beta2
8 years ago
1.0.0-beta1
8 years ago
0.1.0
11 years ago