New:Embedded & IoT Bootcamp
FastAPI

Routing & Requests

5 tutorials organised into focused series and standalone lessons.

0 series 5 standalone lessons Back to FastAPI

Routing & Requests tutorials

Read in order or jump to the topic you need.

Tutorial2026-06-13

Handling Different HTTP Methods (GET, POST, PUT, DELETE)

Use FastAPI decorators to handle GET, POST, PUT, DELETE, and PATCH requests - CRUD mapping, status_code, response_model, and best practices

Web Development / Backend / FastAPI / Routing & Requests

FastAPIHTTP Methods
Tutorial2026-06-13

Path Operations & Decorators

Understand how @app.get() and friends work under the hood - path operation decorators, parameters like tags/summary/description, and OpenAPI metadata generation

Web Development / Backend / FastAPI / Routing & Requests

FastAPIPath Operations
Tutorial2026-06-13

Request Validation with Pydantic

Validate incoming request bodies with Pydantic - Field constraints, custom validators, nested models, and user-friendly error messages

Web Development / Backend / FastAPI / Routing & Requests

FastAPIPydantic
Tutorial2026-06-13

Default Values & Optional Parameters

Handle optional path parameters, default query values, Optional and Union types, mixing required and optional fields, and Body() embed in FastAPI

Web Development / Backend / FastAPI / Routing & Requests

FastAPIOptional Parameters
Tutorial2026-06-13

Handling Form Data & File Uploads

Process form data with Form(), upload single and multiple files with UploadFile, validate file size and type, and mix file uploads with JSON fields

Web Development / Backend / FastAPI / Routing & Requests

FastAPIForm Data