Node.js + Express – Tutorial – GET and POST Requests

Part of a complete node.js series, including the usage of Express.js and much more!
Learn how to setup and use GET and POST requests with Nodejs and Express.

Learn Node.js in our comprehensive 30h+ course:

Complete source code:

Want to get some 1-on-1 coaching with experienced developers? Have a look at Savvy: (Discount Code 9fee2b)

You can follow me on Twitter (@maxedapps), Facebook ( or visit our Website (

See you in the videos!


Add Yours →

router.get('/test', function(…)); //retive all test
router.get('/test:id' function(…)); //retrive test of specific id
how to retrive test of specific type using get request like retrive all test of type='abc'

Hi sir, nice tutorials, but i have an issue on 4:22 video time, when i run project, i got an error,
Error: Failed to lookup view "error" in views directory ……..
Kindly tell me the solution.

very clear tutorials. I really enjoyed these videos. You explained each topic very well, and each video has its own take away points. Can't wait to finish this series and move on to more advanced topics! Thank you so much!!

I started with mean.js on github, and it was just way too much to handle. I like your approach much better.

Please tell me where i can learn more about client side AJAX calls to the server so i can implement domain locks using Post. Meine Meinung nach ist, Du bist ein genie lehrer. Sehr Beeindruckend. Subscribed

Thank you for the great videos. They are very clear and so helpful. I do have a query though, I need to make an external API call to receive JSON data and render it in the browser and I have no idea how I should go about it. Help with this would be highly appreciated. You can even direct me to a course of yours which can help me with this.

Thank you, sir! I love learning from you. Your clear, and thoughtful, explanations are exactly what beginners need. Seeing how to build a node.js express app from the very beginning in small digestible chunks like these, expressed in such a rational and objective manner, makes learning so easy. Thank you, thank you, thank you for your thorough and concise tutorials. Really great job, friend. I'm in awe of your awesomeness.

i have been using node for 4 months and i did not know so much ! these are the best most up-to-date node tutorials on the web right now! I feel my competence with node increasing a lot from video to video.

Hi Max, in the form action, you had to hard code the URL. Is there a method to name the routes and then pass it so that if anything changes, it only needs to be changed in the routes file? Also the anonymous functions that we write in the router.get(), wouldn't it be better to define those in a separate file (like we do in Laravel Controllers) ?

I have created a chat application on server that support node js .. now I want to use that chat application in any website that I want.. how I can do that? or pass a request to that customer service chat application?
thanks for the videos

Leave a Reply