Ability to parse raw request payload (e.g., when using Stripe webhooks) #5513
Arsenalist
started this conversation in
Feature Requests
Replies: 1 comment 1 reply
-
Any solution? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have a custom Stripe webhook and this used to work in the old router method like this (I need the body to be raw since I'm verifying Stripe webhook isgnature)
And then I skip this route in the extender main.ts:
HOWEVER, in the new src/middlewares.ts pattern, I'm doing this:
And in the controller:
However, I keep getting:
Anyone know how I can accept an incoming request as a raw payload in the new way of defining custom routes?
Beta Was this translation helpful? Give feedback.
All reactions