2025-03-07 22:58:02 +00:00

8 lines
218 B
Python

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}