HTTP Status Codes: an overview
Every response starts with a status code that says how the request went. By default an ASP.NET Core API answers 200 when an action returns, and 500 when it throws, so an action has to choose a better code, such as 404, on purpose.
Updated

- Category
- ASP.NET Core
- Level
- Apprentice
- Tags
- 200 OK, 204 No Content, 404 Not Found, 500 Internal Server Error, aspnet-core, rest-api, Status Code