Skip to content

Instantly share code, notes, and snippets.

@NikolayIT
Created November 10, 2015 11:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save NikolayIT/287ca9593d26df32cf40 to your computer and use it in GitHub Desktop.
Save NikolayIT/287ca9593d26df32cf40 to your computer and use it in GitHub Desktop.
var client = new HttpClient { BaseAddress = new Uri("https://api.guildwars2.com/v2/") };
var result = client.GetAsync("items/57").Result.Content.ReadAsStringAsync().Result;
Console.WriteLine(result);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment