Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
Unirest-java sample code
import com.mashape.unirest.http.*;
import com.mashape.unirest.http.exceptions.UnirestException;
public class HelloMashape {
public static void main(String[] args) throws UnirestException {
HttpResponse<String> request = Unirest.get("")
.header("X-Mashape-Authorization", "<Insert your Mashape key here>")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment