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.
Este exercicio faz parte do curso
Azure API Management
exercicio interativo prático
Transforme teoria em prática com um dos nossos exercicio interativos
Iniciar exercicio