AI Workshop: learn to build apps with AI →
HTTP and Networking
Make HTTP requests, create web servers, and handle networking in Node.js.

Join the AI Workshop and learn to build real-world apps with AI. A hands-on, practical program to level up your skills.


Node.js was designed with networking in mind. Its built-in HTTP module makes it straightforward to create web servers and make HTTP requests, which is why Node.js became so popular for building backend services.

In this unit, you’ll learn HTTP and networking in Node.js. We’ll cover making HTTP requests to external APIs, creating HTTP servers, handling requests and responses, and understanding the fundamentals of networked communication.

These networking skills form the foundation for building web servers, APIs, microservices, and any Node.js application that communicates over HTTP.

Lessons in this unit:

0: ▶︎ Introduction
1: Run a web server from any folder
2: HTTP requests in Node using Axios
3: Make an HTTP POST request using Node
4: Making HTTP requests with Node
5: Get HTTP request body data using Node
6: Serve an HTML page using Node.js
7: Using WebSockets with Node.js