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

Python and FastAPI

Module 20 · FastAPI requests and parameters

Path, query, body, header, cookie and form parameters, file uploads, validation with Annotated, and a complete in-memory CRUD API.

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

    20.1 Path parameters, types and enums

    Enroll to open · 22 min read

  2. Lesson 2 of 8

    20.2 Query parameters: defaults, optional and validation

    Enroll to open · 24 min read

  3. Lesson 3 of 8

    20.3 Request bodies with Pydantic models

    Enroll to open · 26 min read

  4. Lesson 4 of 8

    20.4 Headers, cookies and form data

    Enroll to open · 26 min read

  5. Lesson 5 of 8

    20.5 File uploads and multipart requests

    Enroll to open · 27 min read

  6. Lesson 6 of 8

    20.6 Annotated validation and reusable parameter types

    Enroll to open · 25 min read

  7. Lesson 7 of 8

    20.7 The request lifecycle and debugging

    Enroll to open · 27 min read

  8. Lesson 8 of 8

    20.8 Project: a complete CRUD API (in memory)

    Enroll to open · 30 min read

← Back to course