LoslegenKostenlos loslegen

Handling a client error

You've been asked to create a DELETE endpoint that accepts parameter name and deletes the item called name from a key store called items. If the item is not found, the endpoint should return an appropriate status code and detailed message.

You can't run the FastAPI server directly with "Run this file" - see the instructions for how to run the server and test your code from the terminal.

Diese Übung ist Teil des Kurses

Introduction to FastAPI

Kurs anzeigen

Interaktive Übung

In dieser interaktiven Übung kannst du die Theorie in die Praxis umsetzen.

Übung starten