Table of Contents |
---|
JIRA: PLAT-4843
Overview
You can apply the requests and responses transformations in your Proxy APIs through the API Policies tab. Request and response transformations enable you to modify the contents of your Proxy APIs using key/value pairs in the following ways:. To do so, you can apply the following API Policies:
- Request transformation: Use this policy to transform a header, body, or the query string in the API call before it is forwarded to the Proxy API endpoint.
- Response transformation: Use this policy to transform a header or JSON content in the API response that is returned to the caller.
These policies support different operations, which you can apply to different parts of the Proxy API. Depending on the operation type, you can modify the header, query string, or body of the Proxy API.
Supported Operation Types
...
Order | Request Transformer | Response Transformer |
---|---|---|
1 | Remove | Remove |
2 | Rename | Replace |
3 | Replace | Add |
4 | Add | Append |
5 | Append | N/A |
Limitations
...