public
Created

  • Download Gist
unirest-rt.cs
C#
1 2 3 4 5 6
 
HttpResponse<string> jsonResponse = Unirest.get("https://yoda.p.mashape.com/yoda?sentence=You%20will%20learn%20how%20to%20speak%20like%20me%20someday.%20%20Oh%20wait.");
.header("X-Mashape-Authorization", "<Get your own Mashape key and paste it here>")
.asJson<string>();
textBlock1.Text = jsonResponse.Body;

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.