Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
CloudEvents validation with APIM
<base />
<!-- Get the WebHook-Request-Origin -->
<set-variable value="@(context.Request.Headers.GetValueOrDefault("WebHook-Request-Origin"))"
name="webhookRequestOrigin" />
Return the response with the allowed origin
and allowed rate to confirm the subscription.
<set-status code="200" reason="OK" />
<set-header name="WebHook-Allowed-Origin" exists-action="override">
<set-header name="WebHook-Allowed-Rate" exists-action="override">
<set-body />
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment