You have three different choices for consuming REST APIs when working in the .Net Framework: WebClient, HttpClient, and HttpWebRequest.
In this post we will look at these three ways we can access REST APIs from within the managed environment, i.e., without resorting to third-party libraries.
In the sections that follow I will illustrate these approaches with relevant code examples to help you gain a better understanding of the concepts.To read this article in full, please click here(Insider Story)

Leave a Reply