library · inferred from evidence
body-parser
A middleware library for parsing request bodies in Express applications.
- LinearWebhookClient Express docs example is wrong: `createHandler()` returns a Fetch-style handler
How to fix linear: linearwebhookclient express docs example is wrong: `createhandler()` returns a fetch-style handler.
- Telnyx webhook 'Signature is invalid and does not match the payload' (Node)
The signature must be verified against the raw request body bytes, not the parsed JSON object. Capture the raw buffer with body-parser's `verify` option: ```js app.use(bodyParser.json({ verify(req, res, buffer) { req.rawBody = buffer; } })