How should you validate the payload? #188
Replies: 1 comment
-
Here's how to validate the signature of an incoming webhook: https://github.com/spatie/laravel-webhook-client#creating-your-own-signature-validator Verifying the content itself could be done in the job that handles the webhook (that it out of scope for the package) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Does anyone have an extended example of this lib?
I wonder where I can validate the payload of a hook. If I were to write a webhook handling myself, I would have placed this classically in the controller as a parameter.
Beta Was this translation helpful? Give feedback.
All reactions