NodeJS Web Server – Handling HTTP Requests

This tutorial covers how to build an HTTP Server with Node as well as everything you need to know about the HTTP Request object that will be received by the server. How to handle Querystrings as well as POST data is also covered.

Starter Code GIST:

Starter Node Web Server video:
Node HTTP reference:

NPM formidable module:


Xem thêm bài viết:

Related Post

9 Replies to “NodeJS Web Server – Handling HTTP Requests”

  1. Hi Steve,
    node v12.11.1
    Gives besides the query object also
    [Object: null prototype]

    To get the pure object I did
    const queryToString = JSON.stringify(path.query);
    const queryObject = JSON.parse(queryToString);

    Any other ways to do it are welcome, but for some reason albeit I replicated the code line-by-line, I got a different result than you.
    Which was even more interesting, but noting it in case anyone else experiences the same.

  2. I don’t see the link to the previous video in the description but I am not sure 🤔 maybe it’s me or I will go look into the list of videos

  3. This is pretty interesting I had a rough understanding of everything but now my knowledge is more polished but the formidable package is way useful I am happy to know about it !!!

Leave a Reply

Your email address will not be published. Required fields are marked *