Skip to main content
🔒 Preview mode. The first 15 Foundations lessons are free; this one is Pro. Start a 7-day trial to unlock the editor, AI hints and the rest of the curriculum. Card required, cancel any time in Dashboard.
Start 7-day trial →
⚡
← Courses
›
FastAPI Production
›
Module 6 · Real-World Patterns
›
API versioning: URL vs header
quiz
100 / 105
🇺🇸
EN
▼
↗
Share
⋯
More
+100 XP
📋
Task
📖
Theory
🤖
AI Help
Task
📝 **Question:** Most common production choice? 📋 Pick the right answer. 💡 **Hint:** Re-read the theory above if unsure.
🎯 Quiz
Question
📝 **Question:** Most common production choice? 📋 Pick the right answer. 💡 **Hint:** Re-read the theory above if unsure.
A
Query string — `?version=2` defeats CDN caches that key by full URL path.
B
URL prefix `/v1`, `/v2` — separate router modules, easy to cache and debug.
C
Timestamp — `/api/2025-08-15/users`, copying Stripe but with daily breaking changes.
D
Don't version — ship breaking changes and let clients keep up via the changelog.
Submit answer
💬 Discussion
Be the first to ask a question or share a tip.
Sign in
to join the discussion. Reading is free.
Loading discussion…