Skip to content

Commit 5fdd8a9

Browse files
Merge pull request #2541 from micalevisk/patch-6
docs(faq): mention body parser on 'raw body' feature
2 parents 50c4dd5 + 296563a commit 5fdd8a9

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** This feature can be used only if the built-in global body parser middleware is 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)