Summary

An important aspect of Node.js is the ability to implement HTTP and HTTPS servers and services very quickly. The http and https modules provide everything you need to implement webserver basics. For your full webserver, you are still going to want to use a more extended library, such as express. However, the http and https modules work well for some basic web services and are super simple to implement.

The examples in this chapter cover enough HTTP basics to give you a good start on implementing your own services. You also got a chance to see how to use the url and querystring modules to parse URLs and query strings into objects and back.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.226.165.234