What You’ll Learn in This Hour:
• Understanding HTTP
• Creating HTTP servers with Node.js
• Creating HTTP clients with Node.js
Hypertext Transfer Protocol (HTTP) is long-standing protocol for communicating on the Internet. Essentially, it defines how a server and client should send and receive data while communicating. You use HTTP every day when your web browser loads up web pages where your browser is the client connecting to the server of the website you are browsing.
Node.js allows you to create both servers and clients using a low-level application programming interface (API) with the HTTP module.
In this hour, you explore how this module works and how to write HTTP servers and clients with Node.js.