Created
March 23, 2017 21:48
-
-
Save jfversluis/fff18c4d7e8928e381f3ba8391de82eb to your computer and use it in GitHub Desktop.
Refit code to call our REST API
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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