HttpClient Basics
HttpClient sends HTTP requests from C#. Give it a base address, await GetAsync for a response, check its status code, and read its body. A failed status is an answer to handle; a server that can't be reached throws an HttpRequestException.
Updated

- Category
- C#
- Level
- Journeyman
- Tags
- c-sharp, HttpClient (c-sharp), HttpResponseMessage, rest-api