79718293

Date: 2025-07-29 08:15:26
Score: 0.5
Natty:
Report link

for me the following thing worked. as in context of nest js docs, This works for both cases and you don't need to create seprate middleware for raw or json body

import * as bodyParser from 'body-parser';

const app = await NestFactory.create(AppModule, {
  rawBody: true,
  bodyParser: true,
    }); 
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: MUHAMMAD MESUM