webhooks.verifyAndParse
and standalone verifyAndParse
method
#379
Labels
Type: Feature
New feature or request
What’s missing?
There is currently no simple way to parse and verify an incoming http request object at the same time. It's only possible as part of the event API of a
webhooks
instance, which might be overkill / not the best fit for a serverless/function environmentThis would permit for code such as this:
Why?
This is a follow up to #372 (comment), see the discussion for more reasoning.
In a nutshell, @G-Rath's use case is to separate receiving and verifying the event request from running any event handlers to avoid AWS Lambda timeouts.
Alternatives you tried
The text was updated successfully, but these errors were encountered: