Category: FastAPI
45 Posts
FastAPI: Accept Multiple Body Parameters with Body() — When You Need embed=True in 5 Minutes
FastAPI: Receive File Uploads with UploadFile — Block Oversized and Wrong-Format Files Before Saving in 5 Minutes
FastAPI: Use Enums for Path Parameters — Endpoints That Only Accept Valid Values in 5 Minutes
FastAPI: Write Standard CRUD with SQLAlchemy 2.0 — Session Dependency and select() in 5 Minutes
FastAPI: Protect Routes with HTTPBearer — Bearer Token Auth Without OAuth2 in 5 Minutes
FastAPI: Block Unknown Fields and Normalize Input with Pydantic model_config in 5 Minutes
FastAPI: Receive Form Data with Form() — a Standard OAuth2 Login Endpoint in 5 Minutes
FastAPI: Validate Query Strings with Query() — Block Bad Parameters at the API Gateway in 5 Minutes
