03. FastAPI Basics

Chapter 3 of 18 · 20 min
EXERCISE

Create a FastAPI application with two endpoints: GET /health returning {"status": "ok"} and POST /v1/models accepting a JSON body and returning it unchanged. Test both endpoints with curl.