You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/api-management/transform-api.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -30,7 +30,7 @@ In this tutorial, you learn how to:
30
30
> * Protect an API by adding a rate limit policy (throttling)
31
31
> * Test the transformations
32
32
33
-
:::image type="content" source="media/transform-api/api-management-console-new.png" alt-text="Screenshot of API Management policies in the portal.":::
33
+
:::image type="content" source="media/transform-api/api-management-console-new.png" lightbox="media/transform-api/api-management-console-new.png" alt-text="Screenshot of API Management policies in the portal.":::
34
34
35
35
## Prerequisites
36
36
@@ -59,7 +59,7 @@ To see the original response:
59
59
60
60
The original API response should look similar to the following response:
61
61
62
-
:::image type="content" source="media/transform-api/test-original-response-new.png" alt-text="Screenshot of the original API response in the portal":::
62
+
:::image type="content" source="media/transform-api/test-original-response-new.png" lightbox="media/transform-api/test-original-response-new.png" alt-text="Screenshot of the original API response in the portal.":::
63
63
64
64
As you can see, the response includes the **X-AspNet-Version** and **X-Powered-By** headers.
65
65
@@ -110,7 +110,7 @@ In this example, you use the policy code editor to add the policy XML snippet di
1. In the **Outbound processing** section, select the code editor (**</>**) icon.
112
112
113
-
:::image type="content" source="media/transform-api/outbound-policy-code.png" alt-text="Screenshot of navigating to outbound policy code editor in the portal.":::
113
+
:::image type="content" source="media/transform-api/outbound-policy-code.png" lightbox="media/transform-api/outbound-policy-code.png" alt-text="Screenshot of navigating to outbound policy code editor in the portal.":::
114
114
115
115
1. Position the cursor inside the **`<outbound>`** element on a blank line. Then select **Show snippets** at the top-right corner of the screen.
116
116
@@ -131,7 +131,7 @@ This section shows how to add protection to your backend API by configuring rate
1. In the **Inbound processing** section, select the code editor (**</>**) icon.
133
133
134
-
:::image type="content" source="media/transform-api/inbound-policy-code.png" alt-text="Screenshot of navigating to inbound policy code editor in the portal.":::
134
+
:::image type="content" source="media/transform-api/inbound-policy-code.png" lightbox="media/transform-api/inbound-policy-code.png" alt-text="Screenshot of navigating to inbound policy code editor in the portal.":::
135
135
136
136
1. Position the cursor inside the **`<inbound>`** element on a blank line. Then, select **Show snippets** at the top-right corner of the screen.
137
137
@@ -141,7 +141,7 @@ This section shows how to add protection to your backend API by configuring rate
141
141
142
142
The **`<rate-limit-by-key />`** element is added at the cursor.
143
143
144
-
:::image type="content" source="media/transform-api/limit-call-rate-per-key.png" alt-text="Screenshot of inserting limit call rate per key policy in the pportal":::
144
+
:::image type="content" source="media/transform-api/limit-call-rate-per-key.png" alt-text="Screenshot of inserting limit call rate per key policy in the portal.":::
145
145
146
146
1. Modify your **`<rate-limit-by-key />`** code in the **`<inbound>`** element to the following code. Then select **Save**.
0 commit comments