Skip to content

Commit f775cb1

Browse files
committed
edits
1 parent cf892de commit f775cb1

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed
-10.1 KB
Loading

articles/api-management/mock-api-responses.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: Tutorial - Mock API responses in API Management - Azure portal | Microsoft Docs
3-
description: Use Azure API Management to set a policy on an API. The policy returns a mock response even if the back end isn't available to send real responses.
3+
description: Use Azure API Management to set a policy on an API. The policy returns a mock response even if the backend isn't available to send real responses.
44

55
author: dlepow
66
ms.service: azure-api-management
@@ -17,20 +17,20 @@ ms.author: danlep
1717

1818
[!INCLUDE [api-management-availability-all-tiers](../../includes/api-management-availability-all-tiers.md)]
1919

20-
Back-end APIs are imported into an Azure API Management API or created and managed manually. The steps in this tutorial describe how to:
20+
Backend APIs are imported into an Azure API Management API or created and managed manually. The steps in this tutorial describe how to:
2121

2222
+ Use API Management to create a blank HTTP API.
2323
+ Manually manage an HTTP API.
2424
+ Set a policy on an API so that it returns a mock response.
2525

26-
This method enables developers to continue with the implementation and testing of the API Management instance even if the back end isn't available to send real responses.
26+
This method enables developers to continue with the implementation and testing of the API Management instance even if the backend isn't available to send real responses.
2727

2828
[!INCLUDE [api-management-workspace-try-it](../../includes/api-management-workspace-try-it.md)]
2929

3030
The ability to create mock responses is useful in many scenarios:
3131

32-
+ When the API façade is designed first and the back-end implementation occurs later, or when the back end is being developed in parallel.
33-
+ When the back end is temporarily not operational or is not able to scale.
32+
+ When the API façade is designed first and the backend implementation occurs later, or when the backend is being developed in parallel.
33+
+ When the backend is temporarily not operational or is not able to scale.
3434

3535
In this tutorial, you learn how to:
3636

@@ -50,7 +50,7 @@ In this tutorial, you learn how to:
5050

5151
## Create a test API
5252

53-
The steps in this section show how to create an HTTP API with no back end.
53+
The steps in this section show how to create an HTTP API with no backend.
5454

5555
1. Sign in to the Azure portal, and then navigate to your API Management instance.
5656
1. Select **APIs** > **+ Add API** > **HTTP** tile:
@@ -60,7 +60,7 @@ The steps in this section show how to create an HTTP API with no back end.
6060
1. In the **Create an HTTP API** window, select **Full**.
6161
1. In **Display name**, enter *Test API*.
6262
1. In **Products**, select *Unlimited*, if that value is available. This value is available only in some tiers. You can leave the value blank for this tutorial, but you need to associate the API with a product to publish it. For more information, see [Import and publish your first API](import-and-publish.md#import-and-publish-a-backend-api).
63-
1. Ensure that **Managed** is selected in **Gateways**.
63+
1. In **Gateways**, select **Managed** if this option is available. (This option is avaiable only in certain service tiers.)
6464
1. Select **Create**.
6565

6666
:::image type="content" source="media/mock-api-responses/create-http-api.png" alt-text="Screenshot that shows the Create an HTTP API window." lightbox="media/mock-api-responses/create-http-api.png":::
@@ -154,7 +154,7 @@ az apim api operation delete --resource-group <resource-group-name> \
154154
1. Select **Save**.
155155

156156
> [!TIP]
157-
> A yellow bar displaying the text **Mocking is enabled** appears. This message indicates that the responses returned from API Management are mocked by the [mocking policy](mock-response-policy.md) and aren't produced by the back end.
157+
> A yellow bar displaying the text **Mocking is enabled** appears. This message indicates that the responses returned from API Management are mocked by the [mocking policy](mock-response-policy.md) and aren't produced by the backend.
158158
159159
## Test the mocked API
160160

0 commit comments

Comments
 (0)