HttpClient is a .NET class that an app can use to send HTTP requests and receive HTTP responses from a REST web service. The resources that the web service exposes are identified by a set of URIs.
A REST web services enables a client to perform operations against data through a set of HTTP verbs.
Four most common are GET, POST, PUT, and DELETE.
- The GET verb indicate that you want to retrieve a resource.
- The POST verb indicate that you want to create a new resource.
- The PUT verb indicate that you want to update a resource.
- The DELETE verb indicate that you want to delete a resource.