fix: body in middleware is undefined. I have bodyParser #1382
Labels
status: needs triage
Issues which needs to be reproduced to be verified report.
type: fix
Issues describing a broken feature.
Description
I'm trying to print the request.body in my console from the middleware but its undefined
I've googled everywhere and tested allot of things, yet i cant seem to find my answer.
Minimal code-snippet showcasing the problem
Expected behavior
I expect to get the json that i posted
package.json
"body-parser": "^1.20.2",
"reflect-metadata": "^0.2.2",
"routing-controllers": "^0.10.4",
"class-transformer": "^0.5.1",
"class-validator": "^0.14.1",
"typedi": "^0.10.0",
The text was updated successfully, but these errors were encountered: