3 ms·
Hello, actually you now can, I've made it similiar to the Java syntax, but if you want a more "PHP" style: unirest.get('http://httpbin.org/gzip', { 'Accept':
by nijiko 13y ago
Hello, actually you now can, I've made it similiar to the Java syntax, but if you want a more "PHP" style:
unirest.get('http://httpbin.org/gzip', { 'Accept': 'gzip' }, 'Hello World', function (response) { });
or
var Request = unirest.get('http://httpbin.org/gzip', { 'Accept': 'gzip' }, 'Hello World');
Request.end(function (response) {});