SHARE

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.

—– COURSE LINKS:
+ Repo – https://github.com/iamshaunjp/node-js-playlist
+ Atom editor – https://atom.io/

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

SUBSCRIBE TO CHANNEL – https://www.youtube.com/channel/UCW5YeuERMmlnqo4oq8vwUpg?sub_confirmation=1

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

https://www.youtube.com/playlist?list=PL4cUxeGkcC9i9Ae2D9Ee1RvylH38dKuET

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

https://www.youtube.com/playlist?list=PL4cUxeGkcC9gQeDH6xYhmO-db2mhoTSrT

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

For more front-end development tutorials & to black-belt your coding skills, head over to – https://www.youtube.com/channel/UCW5YeuERMmlnqo4oq8vwUpg or http://thenetninja.co.uk

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

Twitter – @TheNetNinja – https://twitter.com/thenetninjauk

35 COMMENTS

  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

    app.get('*',function(req,res,next){
    res.render('404');

    });

    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!

LEAVE A REPLY

Please enter your comment!
Please enter your name here