Skip to main content

← All terms · Web & APIs

WSGI / ASGI

Server-application interfaces. WSGI (PEP 3333) is sync — Flask, Django until 3.0. ASGI extends it for async + WebSockets — FastAPI, Starlette, modern Django. uvicorn / hypercorn speak ASGI; gunicorn speaks WSGI.

Learn this interactively:

Open lesson fastapi-01

Related — Web & APIs

FastAPIModern Python web framework. Type-driven, async-first, autogenerates OpenAPI docPydanticData validation library. Define a model, get parsing + validation + JSON serialiRESTArchitectural style for HTTP APIs — resources at URLs, verbs in the HTTP method,JWTJSON Web Token — a signed, base64-encoded payload used for stateless auth. VerifOpenAPISpec for describing REST APIs as JSON/YAML. FastAPI emits one automatically; tooCORSCross-Origin Resource Sharing — browser security check on which origins may call