Skip to main content
New Self-paced AI courses — learn ML, deep learning, and agents on your schedule. Enroll free

Python and FastAPI

Module 17 · How the web works: HTTP, REST and APIs

Networks, DNS, HTTP in depth, URLs, cookies, JSON, REST design, and calling APIs from Python — everything you need before building one.

8 lessons Follow in order
Use the button below to sign in and unlock lessons.
Your path

Lessons in sequence

Work through these in order—each lesson builds on the previous one.

  1. Lesson 1 of 8

    17.1 The internet: IP addresses, DNS and ports

    Enroll to open · 24 min read

  2. Lesson 2 of 8

    17.2 HTTP requests and responses

    Enroll to open · 26 min read

  3. Lesson 3 of 8

    17.3 Status codes and headers

    Enroll to open · 26 min read

  4. Lesson 4 of 8

    17.4 URLs, query strings and encoding

    Enroll to open · 26 min read

  5. Lesson 5 of 8

    17.5 Cookies, sessions and state

    Enroll to open · 27 min read

  6. Lesson 6 of 8

    17.6 JSON and data formats for APIs

    Enroll to open · 28 min read

  7. Lesson 7 of 8

    17.7 REST API design principles

    Enroll to open · 30 min read

  8. Lesson 8 of 8

    17.8 Calling APIs from Python with requests and httpx

    Enroll to open · 32 min read

← Back to course