From 4d08d27c2c8a3734ed84fa8f28b4f26e3e562976 Mon Sep 17 00:00:00 2001 From: Rick Anderson Date: Wed, 29 Nov 2017 11:54:07 -1000 Subject: [PATCH] Update calling-a-web-api-from-a-net-client.md --- .../overview/advanced/calling-a-web-api-from-a-net-client.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/aspnet/web-api/overview/advanced/calling-a-web-api-from-a-net-client.md b/aspnet/web-api/overview/advanced/calling-a-web-api-from-a-net-client.md index 12fa6bc8b2..e5ce442d4d 100644 --- a/aspnet/web-api/overview/advanced/calling-a-web-api-from-a-net-client.md +++ b/aspnet/web-api/overview/advanced/calling-a-web-api-from-a-net-client.md @@ -162,7 +162,7 @@ Like GET, a DELETE request does not have a request body. You don't need to speci To test the client app: -1. [Download](https://github.com/aspnet/Docs/tree/master/aspnet/web-api/overview/advanced/calling-a-web-api-from-a-net-client/samples/server) and run the server app. [Download instructions](xref:tutorials/index#how-to-download-a-sample). Verify the server app is working. For exaxmple, `http://localhost:64195/api/products` should return a list of products. +1. [Download](https://github.com/aspnet/Docs/tree/master/aspnet/web-api/overview/advanced/calling-a-web-api-from-a-net-client/samples/server) and run the server app. [Download instructions](https://docs.microsoft.com/en-us/aspnet/core/tutorials/#how-to-download-a-sample). Verify the server app is working. For exaxmple, `http://localhost:64195/api/products` should return a list of products. 2. Set the base URI for HTTP requests. Change the port number to the port used in the server app. [!code-csharp[Main](calling-a-web-api-from-a-net-client/sample/client/Program.cs?name=snippet5&highlight=2)] @@ -174,4 +174,4 @@ Name: Gizmo Price: 100.0 Category: Widgets Updating price... Name: Gizmo Price: 80.0 Category: Widgets Deleted (HTTP Status = 204) -``` \ No newline at end of file +```