We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Some policy similar to:
<choose> <when condition="@(context.Response.StatusCode == 500)"> <return-response> <set-status code="510" reason="Internal APIM error captured" /> <set-header name="CustomHeader" exists-action="override"> <value>Error captured and sanitized by APIM</value> </set-header>
@{ var response = context.Response.Body.As();
return Regex.Replace(response, "A", "*"); }</set-body> </return-response> </when> </choose> <find-and-replace from="SECRET" to="*S*" />
The text was updated successfully, but these errors were encountered:
davihern
Successfully merging a pull request may close this issue.
Some policy similar to:
@{
var response = context.Response.Body.As();
The text was updated successfully, but these errors were encountered: