from fastapi import APIRouter #this is the router router = APIRouter() @router.post("/login") async def login(username: str, password: str): return {"message": "User logged in successfully", "username": username}