From 780e2e0289b890cada0d0f873633a9a868b07c32 Mon Sep 17 00:00:00 2001 From: salpelter Date: Sat, 1 Feb 2025 23:24:45 +0400 Subject: [PATCH] minor typo --- aspnetcore/web-api/action-return-types.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aspnetcore/web-api/action-return-types.md b/aspnetcore/web-api/action-return-types.md index 53fb9327cfb8..9e7b39c7a027 100644 --- a/aspnetcore/web-api/action-return-types.md +++ b/aspnetcore/web-api/action-return-types.md @@ -180,7 +180,7 @@ In the preceding action: * A 400 status code is returned when: * The [`[ApiController]`](xref:Microsoft.AspNetCore.Mvc.ApiControllerAttribute) attribute has been applied and model validation fails. * The product description contains "XYZ Widget". -* A 201 status code is generated by the [`Results.Create`](/dotnet/api/microsoft.aspnetcore.http.results.created) method when a product is created. In this code path, the `Product` object is provided in the response body. A `Location` response header containing the newly created product's URL is provided. +* A 201 status code is generated by the [`Results.Created`](/dotnet/api/microsoft.aspnetcore.http.results.created) method when a product is created. In this code path, the `Product` object is provided in the response body. A `Location` response header containing the newly created product's URL is provided. ### Results\ type