![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-at9ylute6pha1.jpg?width=640&crop=smart&auto=webp&s=3959ee19c85b51b32dd4fb90fc7d827435df0f49)
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
![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)
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://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)