Friday, July 8, 2022

Consume a REST service with HttpClient in .NET MAUI

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.

No comments:

Post a Comment

Cloud Service Model

Iaas: Infrastcture as s service This cloud service model is the closest to managing physical servers; a cloud provider will keep the hardwar...