
Creating a multi-tier solution by using services in Azure with API Management Part 3 – Manipulate an API response
Now in this final part we’ll use the outbound policy to change the xml response to json.
Create a new operation and set the url to
GET /xml
Next in the outbound policy add the code for xml-to-json
<xml-to-json kind="direct" apply="always" consider-accept-header="false" />

Now testing the link you will notice that the format changed.

Just to verify go back to your browser and visit your web app with the same path and notice the format.

Great work with the lab! Take care!