Pvp net not working

broken image

When using any REST API, a HTTP POST request will typically expect an application/json content type as it's request. However, the application/json content type request is returning a 200 response, and is binding our request to our model.

broken image

Interestingly, the HTTP GET request using a querystring is throwing a 415 error, alongside the form-data and x-www-form-url-encoded content types in the HTTP POST request. We are running our ASP.NET Core Web API on These are the tests we are running, and the responses returned.

broken image

Now that we've done that, we are going to run some tests in Postman.