Mashape Blog

Rumors aboard Mashape's spaceship

Chris Ismael
Here’s a list of resources on how to make REST calls in different languages.  (We also have this list of 40+ tutorials on how to create an API in different languages). If you dabble with one or more of these languages in your different projects, we highly recommend that you check out Unirest.io, an open source lightweight HTTP client library.  It’s goal is to provide a consistent way for developers to make HTTP calls across different languages (node.js, Ruby, PHP, Java, Python, Objective-C, .NET) If you have suggested additions to…
Chris Ismael
We have just released Unirest for node.js.  Unirest is a lightweight HTTP client library also available for PHP, Python, Ruby, Objective-C, Java, .NET, and Windows RT. After installing and setting up Unirest for node.js, you can make a simple HTTP request like this: unirest.post('http://httpbin.org/post') .headers({ 'Accept': 'application/json' }) .send({ "parameter": 23, "foo": "bar" }) .end(function (response) { console.log(response.body); }); Source: https://gist.github.com/ismaelc/7109128

Why use Unirest?

The goal of Unirest is to provide developers a consistent manner of making HTTP request calls regardless of programming language used.  We have open-sourced this library so that…