For every HTTP method, a method can be called, which a request to the specified endpoint, possibly with a body and optional headers.
This can all be done in a single line, whereas it normally takes about ten.
In your .NET project, execute the following command:
dotnet add package LessAnnoyingHttp