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/visual-studio-code-tutorial.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -62,7 +62,7 @@ To edit the OpenAPI format, right-click the API name in the Explorer pane and se
62
62
63
63
API Management provides [policies](api-management-policies.md) that you can configure for your APIs. Policies are a collection of statements. These statements are run sequentially on the request or response of an API. Policies can be global, which apply to all APIs in your API Management instance, or specific to a product, an API, or an API operation.
64
64
65
-
This section shows how to apply common outbound policies to your API that transform the API response. The policies in this example change response headers and hide original backend URLs that appear in the response body.
65
+
This section shows how to apply common inbound and outbound policies to your API.
66
66
67
67
1. In the Explorer pane, select **Policy** under the *petstore* API that you imported. The policy file opens in the editor window. This file configures policies for all operations in the API.
68
68
@@ -108,7 +108,7 @@ You need a subscription key for your API Management instance to test the importe
108
108
109
109
### Test an API operation
110
110
111
-
1. In the Explorer pane, expand the **Operations** node under the *petstore* that you imported.
111
+
1. In the Explorer pane, expand the **Operations** node under the *petstore* API that you imported.
112
112
1. Select an operation such as *[GET] Find pet by ID*, and then right-click the operation and select **Test Operation**.
113
113
1. In the editor window, substitute `5` for the `petId` parameter in the request URL.
114
114
1. In the editor window, next to **Ocp-Apim-Subscription-Key**, replace `{{SubscriptionKey}}` with the subscription key that you copied.
@@ -122,7 +122,7 @@ When the request succeeds, the backend responds with **200 OK** and some data.
122
122
123
123
Notice the following detail in the response:
124
124
125
-
* The **Custom** header is added to the response.
125
+
* The `Custom` header is added to the response.
126
126
127
127
Now test the rate limiting policy. Select **Send request** several times in a row. After sending too many requests in the configured period, you get the `429 Too Many Requests` response.
0 commit comments