Aan de slagGa gratis aan de slag

Asynchronous DELETE operation

You've been asked to create an API endpoint that deletes items managed by your API. To accomplish this, create an endpoint /items that serves HTTP DELETE operations. Make the endpoint asynchronous, so that your application can continue to serve requests while maintaining any long-running deletion tasks.

We 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.

Deze oefening maakt deel uit van de cursus

Introduction to FastAPI

Cursus bekijken

Praktische interactieve oefening

Zet theorie om in actie met een van onze interactieve oefeningen.

Begin met trainen