Applying payload transformation
In this exercise, we will apply payload transformation to both request and response data for an HTTP endpoint managed by API Management Service. The original Azure Function we connected to the API Management Service accepts payload as JSON and returns response as plain text.
However, let's imagine a situation where the client that needs to call it only works with XML for both request and response. Therefore, our goal is to apply an inbound policy to convert an incoming XML request to JSON and to convert the plain-text response into XML before it goes out.
This exercise is part of the course
Azure API Management
Hands-on interactive exercise
Turn theory into action with one of our interactive exercises
