LoslegenKostenlos loslegen

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.

Diese Übung ist Teil des Kurses

Azure API Management

Kurs anzeigen

Interaktive Übung

In dieser interaktiven Übung kannst du die Theorie in die Praxis umsetzen.

Übung starten