Allowing only POST requests through
How do I allow only POST requests through the input or output?
Last updated
How do I allow only POST requests through the input or output?
Last updated
Often webhooks are sent as POST requests. However, sometimes you might be getting other requests to this endpoint (GET, PATCH, etc.), to filter them out, create a function:
And attach it to the output. Once added, POST requests will come through:
while PUT, GET and other request method webhooks:
will be filtered out: