Skip to content

Commit 964aaa2

Browse files
committed
docs(faq): mention body parser on 'raw body' feature
1 parent 563ce4a commit 964aaa2

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

content/faq/raw-body.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
One of the most common use-case for having access to the raw request body is performing webhook signature verifications. Usually to perform webhook signature validations the unserialized request body is required to calculate an HMAC hash.
44

5+
> warning **Warning** Due to limitations, you can only use this feature if you have the built-in global body parser middleware enabled, ie., you must not pass `bodyParser: false` when creating the app.
6+
57
#### Use with Express
68

79
First enable the option when creating your Nest Express application:

0 commit comments

Comments
 (0)