O'Reilly logo

Sams Teach Yourself Node.js in 24 Hours by George Ornbo

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Hour 5. HTTP

What You’ll Learn in This Hour:

• Understanding HTTP

• Creating HTTP servers with Node.js

• Creating HTTP clients with Node.js

What Is HTTP?

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.

HTTP Servers ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required