![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*7x4T25R3Eu0yoFab_nQG2A.png)
How to handle JSON/form data from the body of the URL in node.JS and express. | by Onkar Shingate | Geek Culture | Medium
![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://i.redd.it/i-am-getting-undefined-when-trying-to-send-express-i-am-new-v0-ce1aj8qe6pha1.jpg?width=994&format=pjpg&auto=webp&s=50beb93d2d270a418f319847c621a3132bf7d3f9)
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
![11. Parse the incoming Request body using Body Parser library in the Express Project - NodeJS - YouTube 11. Parse the incoming Request body using Body Parser library in the Express Project - NodeJS - YouTube](https://i.ytimg.com/vi/g5bRr7s-yeY/maxresdefault.jpg)
11. Parse the incoming Request body using Body Parser library in the Express Project - NodeJS - 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)