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.
This exercise is part of the course
Introduction to FastAPI
Hands-on interactive exercise
Turn theory into action with one of our interactive exercises
