Skip to content

Commit 109df03

Browse files
committed
edits
1 parent 9e9d899 commit 109df03

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

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

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -59,11 +59,11 @@ The steps in this section show how to create an HTTP API with no back end.
5959

6060
1. In the **Create an HTTP API** window, select **Full**.
6161
1. In **Display name**, enter *Test API*.
62-
1. In **Products**, select **Unlimited**.
62+
1. In **Products**, enter *Unlimited*.
6363
1. Ensure that **Managed** is selected in **Gateways**.
6464
1. Select **Create**.
6565

66-
:::image type="content" source="media/mock-api-responses/create-http-api.png" alt-text="Screenshot that shows the Create an HTTP API window.":::
66+
:::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":::
6767

6868
## Add an operation to the test API
6969

@@ -78,13 +78,13 @@ An API exposes one or more operations. In this section, you add an operation to
7878
| Setting | Value | Description |
7979
|------|------|-----------------------------------------|
8080
| **Display name** | *Test call* | The name that's displayed in the [developer portal](api-management-howto-developer-portal.md). |
81-
| **URL** (HTTP verb) | GET | Select one of the predefined HTTP verbs. |
82-
| **URL** | */test* | A URL path for the API. |
81+
| **URL** (first box) | GET | Select one of the predefined HTTP verbs. |
82+
| **URL** (second box)| */test* | A URL path for the API. |
8383
| **Description** | | An optional description of the operation. It provides documentation in the developer portal to the developers who use the API. |
8484

8585
:::image type="content" source="media/mock-api-responses/frontend-window.png" alt-text="Screenshot that shows the Frontend window." lightbox="media/mock-api-responses/frontend-window.png":::
8686

87-
1. Select the **Responses** tab, which is located under the **URL**, **Display name**, and **Description** boxes. Enter values on this tab to define response status codes, content types, examples, and schemas.
87+
1. Select the **Responses** tab, which is located under the **URL**, **Display name**, and **Description** boxes. You'll enter values on this tab to define response status codes, content types, examples, and schemas.
8888
1. Select **+ Add response**, and then select **200 OK** from the list.
8989

9090
:::image type="content" source="media/mock-api-responses/add-response.png" alt-text="Screenshot that shows the Responses tab." lightbox="media/mock-api-responses/add-response.png":::
@@ -149,7 +149,7 @@ Keep this operation for use in the rest of this article.
149149

150150
:::image type="content" source="media/mock-api-responses/mock-responses-policy-tile.png" alt-text="Screenshot that shows the Mock responses tile." border="false":::
151151

152-
1. In the **API Management response** box, type **200 OK, application/json**. This selection indicates that your API should return the response sample that you defined in the previous section.
152+
1. Ensure that **200 OK, application/json** appears in the **API Management response** box. This selection indicates that your API should return the response sample that you defined in the previous section.
153153

154154
:::image type="content" source="media/mock-api-responses/set-mocking-response.png" alt-text="Screenshot that shows the API Management response selection." lightbox="media/mock-api-responses/set-mocking-response.png":::
155155

0 commit comments

Comments
 (0)