node-sdks icon indicating copy to clipboard operation
node-sdks copied to clipboard

Simplify webhooks usage with bodyParser.json

Open davidzhao opened this issue 4 years ago • 0 comments

With express + bodyParser.json, it's not straight forward to get the raw payload. (which is needed to validate sha).

It's possible to store the raw body with bodyParser's validate function. It'd be great if the SDK included this helper.

davidzhao avatar Oct 18 '21 20:10 davidzhao