Web API is the ultimate .NET Framework which allow you to exchange data with a service through HTTP requests. You can send data to it or get back different types of data but the most common usage is the Json format. This post will show you how to send GET, POST, PUT or DELETE HTTP requests to your Web API infrastructure, in order to retrieve, add, update or delete a resource respectively. We are going to use the HttpClient class to make our HTTP client requests. Our solution, will apart by a basic API controller which is going to support all HTTP methods and a simple WebForm page which is going to play the User Interface role.


I guess you came to this post by searching similar kind of issues in any of the search engine and hope that this resolved your problem. If you find this tips useful, just drop a line below and share the link to others and who knows they might find it useful too.

Stay tuned to my blogtwitter or facebook to read more articles, tutorials, news, tips & tricks on various technology fields. Also Subscribe to our Newsletter with your Email ID to keep you updated on latest posts. We will send newsletter to your registered email address. We will not share your email address to anybody as we respect privacy.


This article is related to

C#,.NET,Architect,Intermediate,VS2012,.Net,Articles,Computer Tutorials,JSON,Web APIs