FastAPI - Database Integration
Identify the error in this FastAPI POST route for creating an item:
@app.post('/items/')
async def create_item(item: dict):
items.append(item)
return item
15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions