News for hackers. Stuff that matters.
Re:Show HN: Unirest by nijiko on Tuesday October 22, 2013 @02:23PM (#6593908)
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) {});

There are no comments on this comment yet.