Azure / Azure/api-management-policy-snippets

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

Open
#88 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
No language data
Stars
399
Forks
170
PR merge metrics
No merged PRs in 30d

Description

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

Contributor guide

No contributing guide indexed for this repository

Research direction

Open the referenced examples/Call out to an HTTP endpoint and cache the response.policy.xml file and compare it with the linked APIM cache-response documentation. Reproduce the policy-save error if possible, then verify that the corrected sample matches the documented policy and can be saved successfully.

Written by the indexing model from the issue text.

Assessment

Tech stack
azure
Domain
api
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.