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

If you’re using Visual Studio to build your .NET MAUI app on a Mac, locating the IPA (iOS App Package) file can be a bit tricky

  If you’re using   Visual Studio   to build your   .NET MAUI   app on a   Mac , locating the   IPA (iOS App Package)   file can be a bit tr...