Mashape Blog

Rumors aboard Mashape's spaceship

Frédéric Harper
Creative Commons: At Mashape, we are always looking for the best conferences where we can share our knowledge and expertise with our fellow developers. Sharing is part of our DNA! We are also huge fans of hackathons, user group meetups, and camp-style events. We are here in the community, and we like to be part of the success of different events by finding creative ways to sponsor them. Of course, we can’t participate in all tech-related events, but if your primary audience is developers, and you are looking for experienced speakers for non-product pitch talks, let us know! You…
Chris Ismael
Api World app in Windows 8 If you’re a Windows 8 developer, install the Api World app for Windows 8.1 now.  From the app description:

Description of API World

APIworld is an application to help developers find the API they need, easily. Developers will get randomly themed APIs and randomly picked APIs to try out. You can also use the Search charm to search for any APIs and the Share charm to share the API they like.


    Random API every time you open the app Search and Share Charm Features
The app was created by Abdullah Abbas aka “socialstalker”,  …
Chris Ismael
This post will show you how to get Unirest-java running on your Android projects.  Unirest is a lightweight HTTP client library with port available in many languages. This is a follow-up to “How to install Unirest using the Maven assembly plugin”.  The steps are similar, with the addition of a Maven (shader) plugin that relocates some packages in order to work around dependency errors when using the uber jar in an Android project. (In case you’re interested, the error you’ll get is ”java.lang.NoSuchFieldError: org.apache.http.message.BasicLineFormatter.INSTANCE”). Let’s start: 1.  Follow Steps 1 and 2 from the Unirest-java/Maven tutorial.
Chris Ismael
Managing dependencies for your Java applications is difficult, unless you have Maven!  Maven is an Apache build manager for Java projects.  In this post, we will use a Maven plugin (Maven Assembly) to pull all the unirest-java dependencies in one bundle/jar file. Let’s get started (the steps below assume you already have Java and Git installed): Update: If you’re building for Android, please refer to this post.

1.  Download/Install Maven

To check if you already have Maven in your machine, run "mvn -version" in your Terminal.  OS X prior to Maverick already comes with Maven.  If…
Chris Ismael
We’re happy to announce that the Unirest library for .NET and RT (“windows 8”) has been merged!  This was possible thanks to Lionel Ringenbach’s contribution Lionel is a C#/XAML developer based in Switzerland.  He enjoys developing for Microsoft platforms (mobile, tablets, desktop).  He loved to code because “it is the most creative tool that has been given to me – you think, create, and make everyday a better day!” We’ve asked him to write the post below.  Enjoy! The Unirest HTTP request library was ported sometime back for the classic .NET platform and WinRT.  They were packaged in 2 different…
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, 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:'') .headers({ 'Accept': 'application/json' }) .send({ "parameter": 23, "foo": "bar" }) .end(function (response) { console.log(response.body); }); Source:

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…
Chris Ismael
As proud contributors to the open source community, nothing makes us happier than getting feedback and support from developers who like to make things better. Shortly after we released, we received a ton of feedback from developers who would like to get a Windows 8 and .NET port.  Before we can even get to it, we received contributions from Michael Azarkevich and Michael Sync who ported Unirest to the two platforms.  To the two Michaels, a HUGE THANK YOU!  You rock m/ We have officially rolled them in with the rest of the Unirest libraries here.  You…
Chris Ismael
After the successful launch of Unirest, an open source lightweight http client library, we received a lot of requests for a C# .NET port on Windows Desktop and Windows 8.  Even before we got to work, we’ve received contributions from the open source community who ported Unirest to .NET. This tutorial will show you how to use the Windows 8 (RT) port of Unirest in your application (We will follow this up with the Windows Desktop port in a later post, but it will follow pretty much the same steps).  Let’s get started! NOTE:  We will be updating this…
Chris Ismael Yesterday, we released our newest open-sourced project, which we named Unicorn. Unfortunately, that was also the name of two existing open sourced projects. We really dropped the ball, and have been working hard to clean up the mess.  Our apologies to anyone in the Ruby or Python community who was confused or pissed off.  Hopefully you can look past our mistake and see the value in this project. Since yesterday, we have decided on a new name, Unirest, which we think is a great fit for the project. We also made a new website, changed out all the…
older posts >