Skip to content

Instantly share code, notes, and snippets.

@jfversluis
Created March 23, 2017 21:48
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 jfversluis/fff18c4d7e8928e381f3ba8391de82eb to your computer and use it in GitHub Desktop.
Save jfversluis/fff18c4d7e8928e381f3ba8391de82eb to your computer and use it in GitHub Desktop.
Refit code to call our REST API
private async void Handle_Clicked_Awesome (object sender, System.EventArgs e)
{
var fooCollection = await _restClient.GetPosts ();
ResultLabel.Text = $"{fooCollection [0].id} - {fooCollection [0].title}";
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment