![i am getting undefined when trying to send req.body express (i am new to this idk why this is happening but when I create a route directly in the index it send i am getting undefined when trying to send req.body express (i am new to this idk why this is happening but when I create a route directly in the index it send](https://preview.redd.it/i-am-getting-undefined-when-trying-to-send-express-i-am-new-v0-uag0h2ge6pha1.jpg?width=496&format=pjpg&auto=webp&s=16a874aed6d39109bb53803abfa52e2b2cd9b6d5)
i am getting undefined when trying to send req.body express (i am new to this idk why this is happening but when I create a route directly in the index it send
![Req.body Node JS Express | req.body undefined express | Node JS in Hindi #9 | #nodejs #expressjs - YouTube Req.body Node JS Express | req.body undefined express | Node JS in Hindi #9 | #nodejs #expressjs - YouTube](https://i.ytimg.com/vi/v_Ewns3n_Ow/hq720.jpg?sqp=-oaymwEhCK4FEIIDSFryq4qpAxMIARUAAAAAGAElAADIQj0AgKJD&rs=AOn4CLD5LhLb1d13S2tpgQEurekZSr7QEg)
Req.body Node JS Express | req.body undefined express | Node JS in Hindi #9 | #nodejs #expressjs - YouTube
![i am getting undefined when trying to send req.body express (i am new to this idk why this is happening but when I create a route directly in the index it send i am getting undefined when trying to send req.body express (i am new to this idk why this is happening but when I create a route directly in the index it send](https://preview.redd.it/i-am-getting-undefined-when-trying-to-send-express-i-am-new-v0-es5sccme6pha1.jpg?width=523&format=pjpg&auto=webp&s=f2b6d32ae27e6e9652ad8d2f75bf8477ce5e0a2e)
i am getting undefined when trying to send req.body express (i am new to this idk why this is happening but when I create a route directly in the index it send
![Req.body Node JS Express | req.body undefined express | Node JS in Hindi #9 | #nodejs #expressjs - YouTube Req.body Node JS Express | req.body undefined express | Node JS in Hindi #9 | #nodejs #expressjs - YouTube](https://i.ytimg.com/vi/bQApV_RddO4/sddefault.jpg)
Req.body Node JS Express | req.body undefined express | Node JS in Hindi #9 | #nodejs #expressjs - YouTube
![Simon Plenderleith on X: "🌟 Today I learnt: `body-parser` functionality has been bundled with Express since v4.16.0 (for 3 years!), no need to install it: app.use(express.json()); ...is all you need! I've updated Simon Plenderleith on X: "🌟 Today I learnt: `body-parser` functionality has been bundled with Express since v4.16.0 (for 3 years!), no need to install it: app.use(express.json()); ...is all you need! I've updated](https://pbs.twimg.com/media/Eo3utt4WMAAb3d7.jpg:large)
Simon Plenderleith on X: "🌟 Today I learnt: `body-parser` functionality has been bundled with Express since v4.16.0 (for 3 years!), no need to install it: app.use(express.json()); ...is all you need! I've updated
![how to construct custom validator based on incoming req.body param values · Issue #816 · express-validator/express-validator · GitHub how to construct custom validator based on incoming req.body param values · Issue #816 · express-validator/express-validator · GitHub](https://user-images.githubusercontent.com/443080/71564286-a7678480-2a9e-11ea-85e6-72180580a480.png)
how to construct custom validator based on incoming req.body param values · Issue #816 · express-validator/express-validator · GitHub
![How to handle JSON/form data from the body of the URL in node.JS and express. | by Onkar Shingate | Geek Culture | Medium How to handle JSON/form data from the body of the URL in node.JS and express. | by Onkar Shingate | Geek Culture | Medium](https://miro.medium.com/v2/resize:fit:1400/1*ET5HNNBTvLiIgOEpOkmclg.png)