![Basic Node and Express - Implement a Root-Level Request Logger Middleware - JavaScript - The freeCodeCamp Forum Basic Node and Express - Implement a Root-Level Request Logger Middleware - JavaScript - The freeCodeCamp Forum](https://global.discourse-cdn.com/freecodecamp/original/4X/d/a/4/da43c04ca9338d1e5a9d9bfb9e3043cc890b9389.png)
Basic Node and Express - Implement a Root-Level Request Logger Middleware - JavaScript - The freeCodeCamp Forum
![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
![Basic Node and Express - Implement a Root-Level Request Logger Middleware - JavaScript - The freeCodeCamp Forum Basic Node and Express - Implement a Root-Level Request Logger Middleware - JavaScript - The freeCodeCamp Forum](https://global.discourse-cdn.com/freecodecamp/original/4X/5/b/d/5bd459fb117948034b4627b7d66cb5d735a39a41.png)
Basic Node and Express - Implement a Root-Level Request Logger Middleware - JavaScript - The freeCodeCamp Forum
![javascript - when I put 'console.log(err.message)' in error handler of express app, It keeps logging endlessly but why? - Stack Overflow javascript - when I put 'console.log(err.message)' in error handler of express app, It keeps logging endlessly but why? - Stack Overflow](https://i.stack.imgur.com/UzMP5.jpg)