From fc96cc96065195c580abc7d929f6f25391336511 Mon Sep 17 00:00:00 2001 From: Luke Latham <1622880+guardrex@users.noreply.github.com> Date: Mon, 10 Dec 2018 08:17:29 -0600 Subject: [PATCH] Fix API link (#9923) --- aspnetcore/tutorials/first-web-api.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/aspnetcore/tutorials/first-web-api.md b/aspnetcore/tutorials/first-web-api.md index a0de92680e..c5966f5020 100644 --- a/aspnetcore/tutorials/first-web-api.md +++ b/aspnetcore/tutorials/first-web-api.md @@ -5,7 +5,7 @@ description: Build a web API with ASP.NET Core MVC ms.author: riande monikerRange: '> aspnetcore-2.1' ms.custom: mvc -ms.date: 11/19/2018 +ms.date: 12/10/2018 uid: tutorials/first-web-api --- @@ -354,7 +354,7 @@ Add the following `PutTodoItem` method: [!code-csharp[](first-web-api/samples/2.2/TodoApi/Controllers/TodoController.cs?name=snippet_Update)] -`PutTodoItem` is similar to `PostTodoItem`, except it uses HTTP PUT. The response is [204 (No Content)](https://www.w3.org/Protocols/rfc2616/rfc2616-sec9.html). According to the HTTP specification, a PUT request requires the client to send the entire updated entity, not just the changes. To support partial updates, use [HTTP PATCH](/dotnet/api/microsoft.aspnetcore.mvc.httppostattribute). +`PutTodoItem` is similar to `PostTodoItem`, except it uses HTTP PUT. The response is [204 (No Content)](https://www.w3.org/Protocols/rfc2616/rfc2616-sec9.html). According to the HTTP specification, a PUT request requires the client to send the entire updated entity, not just the changes. To support partial updates, use [HTTP PATCH](xref:Microsoft.AspNetCore.Mvc.HttpPatchAttribute). ### Test the PutTodoItem method