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
Add custom policy external integration to both step-by-step and a provisioned API.
As an example, httpbin service could be used as backend mock:
<send-request mode="new" response-variable-name="validationresponse" timeout="20" ignore-error="true"> <set-url>https://httpbin.org/status/200,403</set-url> <set-method>GET</set-method> </send-request> <choose> <!-- Check active property in response --> <when condition="@((int)((IResponse)context.Variables["validationresponse"]).StatusCode == 403)"> <!-- Return 403 --> <return-response> <set-status code="403" reason="Custom validation failed" /> </return-response> </when> </choose>
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Add custom policy external integration to both step-by-step and a provisioned API.
As an example, httpbin service could be used as backend mock:
The text was updated successfully, but these errors were encountered: