Yo ninjas, in this long overdue Node JS tutorial, I’ll show you how we can handle POST requests in Node and parse the data we’re sent using body-parser, a module available on the npm.

+ Repo –
+ Atom editor –

You can find more front-end development tutorials on CSS, HTML, JavaScript, jQuery, WordPress & more on the channel homepage…


========== JavaScript for Beginners Playlist ==========

============ CSS for Beginners Playlist =============

============== The Net Ninja =====================

For more front-end development tutorials & to black-belt your coding skills, head over to – or

================== Social Links ==================

Twitter – @TheNetNinja –


  1. instead of mailing this data can we store that data in a file, and while saving it how to make sure it don't overwrite that data but add that data in the same file..? pls reply

  2. I greatly appreciate your level of detail and all of the effort you've put into these videos. They're very well done and I hope that you're well rewarded for them. I have liked and subscribed; can't wait to dig into your other content.

  3. THANK YOU THANK YOU THANK YOU. The first good node js video i watched in a very long time. You explain well. Gonna check out the whole series. SUBBED.

  4. for 404 error handling, use



    use this at the end and after all of your routes

  5. Cant ask for more thank you for this wonderful nodejs begining ,never felt confused or iritated ,all tutorials went soo smoothly

  6. thank you very much bro !! the best videos about node js i never seen thank you again you help me in my project to understand node js and i hope to doing other advanced tutorial about node js

  7. Thanks a lot for your amazing tutorials, I have seen all of the Node JS so far and I will definitely keep on watching. Cheers, Maja.

  8. Thanks for the videos mate!
    I ve got a question about the POST part:
    as shown below,without adding the POST and body parser, if i fill in the form and click submit, the data seems to be already parsed ( im logging inside app.get())
    any idea what is happening?

  9. Fantastic! Your teaching methods are superb. You actually take the time to explain the data flow – and that makes all the difference. Thank you!

  10. I forgot to say that I LOVE YOUR EXPLAINING OF EVERY DETAIL. I noticed a few comments saying you don't need to, but in reality it HELPS A LOT.

  11. i am using an android app to post data to server by json. should i look into jsonparser to do the job instead of bodyparser?

  12. you dnt have to explain every little detail and line just do it and we can see what your doing and how it works! when you copy and past you could of just changed it not explain it and then explain afterwards that is less frustrating!


Please enter your comment!
Please enter your name here