Introduction to API Connect pre-built transformation policies
In Chapter 4, API Creation, you were introduced to pre-configured, or built-in, policies within the policies of an API flow. Of the many to choose from, some can be used to transform your data either on the request or response flow. As you are configuring the Gateway policies of your API, you will notice that all of the pre-defined policies on the left of the page are logically grouped based on the type of functions that they perform. You will notice a Transforms grouping, which will contain five different policies that you can use within your Gateway policy flow to transform your data. Each one will perform a specific type of transformation or pertain to a specific data format to transform to and from. In addition to these five policies listed under the Transforms heading, the GatewayScript policy can also be very useful in transforming data. This policy is listed under the Policies heading. Figure 8.1 shows these different...