Null API Responses and HTTP 204 Results in ASP.NET Core

added by DotNetKicks
2/24/2020 12:52:05 PM

213 Views

ASP.NET Core's default API handlers return an HTTP 204 response for null value results. This is meant to be a convenience feature, but if your calling API depends on a proper JSON response or an HTTP 200 result code, it can cause applications to break.


0 comments