With it being such a common aspect of most modern software projects, it should come as no surprise that generating HTTP requests has been so thoroughly streamlined by the .NET Core standard that it's an absolute breeze to use. We'll be using the HttpClient class to send outbound requests that perfectly mirror the FitnessApp API we just defined in our controller class, so understanding the expected paths and inputs should be a straightforward endeavor. So, with that in mind, let's crack open our FitnessDataStoreClient class and start generating requests.
HTTP request formatting
Creating HttpClient instances
We'll start with the simple read operations in our API, but in order to do that, we'll need to...