Your API Proxy often reads an incoming request and generates a different or modified request that gets executed against your target server. It’s useful to know the exact request being made to the target server.
As of our 150902 cloud release, you can easily get a cURL representation of the request made to the target server in Trace. In the transaction map, click on the circle preceding the target server, then click on the Show Curl button.
The following restrictions exist in generating the cURL representation:
- For security reasons, the Authorization header, if any, is masked. You will see asterisks instead of the Authorization header value.
- If proxy request streaming is enabled, the request body, if any, cannot be determined.
- If the request body is a stream, the request body will not be represented in the cURL command.
