CommencerCommencer 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

Introduction to FastAPI

Afficher le cours

Exercice interactif pratique

Passez de la théorie à la pratique avec l’un de nos exercices interactifs

Commencer l’exercice