CommencerCommencez gratuitement

PUT operation in action

You've been asked to create a PUT endpoint /items that accepts parameters name and description and updates the description based on the name in a key-value store called items.

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.

Cet exercice fait partie du cours

<cours>Introduction to FastAPI</cours>
Voir le cours

Exercice interactif pratique

Transformez la théorie en action avec l’un de nos exercices interactifs

Commencer l’exercice