In this tutorial we will be talking about how we can set up a simple Node.js HTTP server from a beginner's perspective. Node is a fantastic candidate for creating web servers; which are lightweight and can handle a great number of simultaneous requests. This means if you’re interested in learning to build scalable web applications this is a great beginner's guide.
In any application framework one basic need is to be able to make REST calls over HTTP/HTTPS, they are widely used and very useful in cases of API interactions and web scraping. We can use the Node.js core modules http or https to perform these calls but that that can be a cumbersome process and the Request module makes it simple to perform these HTTP requests. In this tutorial we will learn about how to get started with the request module to perform HTTP calls.