Azure / api-management-policy-snippets

Re-usable examples of Azure API Management policies
MIT License
341 stars 155 forks source link

Incorrect Sample | Call out to an HTTP endpoint and cache the response.policy.xml #88

Open MayankBargali-MSFT opened 2 years ago

MayankBargali-MSFT commented 2 years ago

The policy https://github.com/Azure/api-management-policy-snippets/blob/master/examples/Call%20out%20to%20an%20HTTP%20endpoint%20and%20cache%20the%20response.policy.xml is referred to the APIM cache-response document: https://docs.microsoft.com/en-us/azure/api-management/policies/cache-response

When running the policy we can see the error while saving the policy. Please fix the policy so it is reflected correctly in the APIM document.

MicrosoftDocs/azure-docs#95685