From 67f24e8c455294dcbf52406b250ff80276ed077e Mon Sep 17 00:00:00 2001 From: Pranav K Date: Tue, 18 Feb 2020 20:01:18 -0800 Subject: [PATCH] Update index.md (#17046) --- aspnetcore/web-api/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aspnetcore/web-api/index.md b/aspnetcore/web-api/index.md index 549b908dcb..636a949c7c 100644 --- a/aspnetcore/web-api/index.md +++ b/aspnetcore/web-api/index.md @@ -376,7 +376,7 @@ The `NotFound` method produces an HTTP 404 status code with a `ProblemDetails` b ### Disable ProblemDetails response -The automatic creation of a `ProblemDetails` instance is disabled when the property is set to `true`. Add the following code in `Startup.ConfigureServices`: +The automatic creation of a `ProblemDetails` for error status codes is disabled when the property is set to `true`. Add the following code in `Startup.ConfigureServices`: ::: moniker-end