ComenzarEmpieza gratis

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 ejercicio forma parte del curso

Azure API Management

Ver curso

Ejercicio interactivo práctico

Pon en práctica la teoría con uno de nuestros ejercicios interactivos

Empezar ejercicio