APIs for AIFastAPI 0.141 · httpx2 2.13 · Python 3.10+
0%
1
Curious builder0 XP earned · 300 to level 2
0 daysFinish a lesson to begin
Badge collection0 of 6 unlocked
19 small wins to finish your pathNext lesson

Building an API with FastAPI quiz

Question 1 of 5

@app.get("/tickets/{ticket_id}") def get_ticket(ticket_id: int). What does GET /tickets/two return?

Getting one wrong here is cheaper than getting it wrong in your own code.