Skip to content

Commit c7c2cfd

Browse files
committed
typos
1 parent 2aa6a76 commit c7c2cfd

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

articles/api-management/api-management-howto-api-inspector.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ In this tutorial, you learn how to:
7070

7171
## Enable tracing using a REST client
7272

73-
You can enable tracing for an API when making requests to API Management using `curl`, a REST client such as VSCode with the REST Client extension, or a client app.
73+
You can enable tracing for an API when making requests to API Management using `curl`, a REST client such as Visual Studio Code with the REST Client extension, or a client app.
7474

7575
> [!IMPORTANT]
7676
> API Management request tracing is no longer enabled by setting the **Ocp-Apim-Trace** header in a request and using the value of the **Ocp-Apim-Trace-Location** header in the response to retrieve the trace.
@@ -83,8 +83,7 @@ Enable tracing by the following flow using calls to the API Management REST API.
8383
1. Obtain trace credentials by calling the [List debug credentials](/rest/api/apimanagement/gateway/list-debug-credentials) API. Pass the gateway resource ID in the URI, or use "managed" for the instance's managed gateway. for cloud in URI, and API that you want to trace in payload. For example:
8484

8585
```http
86-
POST https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/gateways/{gatewayId}/listTrace?api-version=2023-05-01-preview
87-
/managed/listDebugCredentials?api-version=2023-05-01-preview
86+
POST https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/gateways/managed/listDebugCredentials?api-version=2023-05-01-preview
8887
```
8988
9089
Pass the full resource ID of the API in the payload, and specify `purposes` as `tracing`. By default the token credential returned in the response expires after 1 hour, but you can specify a different value in the payload.

0 commit comments

Comments
 (0)