Http 400 Bad Request Response [Answered]
POST controller in WebAPI.
Service from the client that calls the Web API:
I've tried many things, including serializing the object to Json using Newtonsoft and just passing the object in for the HttpClient to serialize.
I keep getting a 400 bad request response, and the content doesn't seem to provide any insight as to why that is. Note that I have provided the correct base URL to the httpClient as it works for my GET requests.
Service from the client that calls the Web API:
I've tried many things, including serializing the object to Json using Newtonsoft and just passing the object in for the HttpClient to serialize.
I keep getting a 400 bad request response, and the content doesn't seem to provide any insight as to why that is. Note that I have provided the correct base URL to the httpClient as it works for my GET requests.