Making Rest Get Web Service Call in Xamarin Forms

Since api is a little different from regular C#, the code is slightly different.

var httpClient = new HttpClient();
var response = await httpClient.GetStringAsync(url);

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.