Reputation: 3345
I am currently working on parsing and validating the XML request body in Azure APIM, so that if something is missing or not valid , we can return the response and do not send the request to the backend.
I am aware that we have Validation Policies for JSON validation , do we have something for XML as well or not ?
If not , how can we achieve the same in Azure APIM . Please sugggest.
Upvotes: 0
Views: 1603
Reputation: 2440
Thank you silent. Posting your suggestions as an answer to help other community members.
As the Policy Engine does not support we cannot perform validation inside the API Management. Rather we can do that by using Azure Function.
Check the Policy engine document for supported namespace.
Upvotes: 0