diff --git a/aspnet/web-api/overview/web-api-routing-and-actions/create-a-rest-api-with-attribute-routing.md b/aspnet/web-api/overview/web-api-routing-and-actions/create-a-rest-api-with-attribute-routing.md index 80452512f3..4b11245ebf 100644 --- a/aspnet/web-api/overview/web-api-routing-and-actions/create-a-rest-api-with-attribute-routing.md +++ b/aspnet/web-api/overview/web-api-routing-and-actions/create-a-rest-api-with-attribute-routing.md @@ -172,7 +172,7 @@ Add the following method to the `BooksController` class. [!code-csharp[Main](create-a-rest-api-with-attribute-routing/samples/sample13.cs)] -If you request `/api/books/1/detail`, the response looks like this: +If you request `/api/books/1/details`, the response looks like this: [!code-json[Main](create-a-rest-api-with-attribute-routing/samples/sample14.json)]