hectoday
DocsCoursesChangelog GitHub
DocsCoursesChangelog GitHub

Access Required

Enter your access code to view courses.

Invalid code

← All courses

HTTP from scratch

Before you use any framework, you need to understand what's happening underneath. This course breaks down every part of HTTP, from requests and responses to methods, status codes, headers, and bodies. By the end, you'll build a working server from scratch with Node.js.

Beginner ~6 hours

What is HTTP

  1. The request-response model
  2. Anatomy of an HTTP request
  3. Anatomy of an HTTP response

Methods

  1. GET and HEAD
  2. POST
  3. PUT, PATCH, and DELETE
  4. OPTIONS and CORS preflight

Status codes

  1. 2xx success
  2. 3xx redirection
  3. 4xx client errors
  4. 5xx server errors

Headers

  1. Request headers
  2. Response headers
  3. Custom headers

The body

  1. JSON
  2. Form data and multipart
  3. No body

Connections

  1. TCP, DNS, and TLS
  2. HTTP/1.1 vs HTTP/2
  3. Cookies and state

Putting it all together

  1. Building a server from scratch
  2. From scratch to framework

© 2026 hectoday. All rights reserved.