assignments icon indicating copy to clipboard operation
assignments copied to clipboard

optimise bodyParser in week-02/03-mongo

Open prince981620 opened this issue 8 months ago • 0 comments

it took a lot of time to figure out that when you include postman body and even if you comment it out the global middleware app.use(bodyaParser.json()) will try to parse and throw an error so set body to none or it should have nothig (not even commented something) while sending get requests or try to set bodyParser middleware after get routes. @hkirat is there any way to exclude a particular ruote from a global middleware

prince981620 avatar May 29 '24 09:05 prince981620