Sarraf API
    Preparing search index...

    Function rawBody

    • Keep the exact request bytes on req.rawBody (signatures are computed over them) and parse JSON into req.body. Mount it on webhook routes instead of express.json().

      Parameters

      Returns (req: RawBodyRequest, res: ServerResponse, next: Next) => void