Software AG Products 10.11 | Using API Gateway | Usage Scenarios | Request and Response Processing | Request and Response Transformation Policies
 
Request and Response Transformation Policies
Transformation policy enables you to configure several transformations on the requests from the clients into a format required by the native API, or to transform the response by the native API into a format required by the client.
The transformations include Header, Query Parameter, Path Parameter transformation, HTTP Method transformation, Payload transformation, and Advanced transformation. The transformations are applied based on the configurations provided in the transformation policies.
When can you use transformation policies?
You can use transformation policies:
*When the API Provider wants to read the contents of the request and response to do audit logging, or trigger a notification based on the contents of the request.
*When the API Provider wants to modify the request before forwarding the request to native API as the native API wants to identify all incoming requests from API Gateway. In such case the provider can configure the Request transformation policy to add a header to all requests before they get routed to the native API.
Pre-Requisites
*Install API Gateway advanced edition 10.2 or higher.
*Basic understanding of API Gateway and policy enforcement.
*Ensure that you have the Manage API privilege.