2025-03-12 17:22:19 +00:00

13 lines
343 B
Python

from fastapi import APIRouter
router = APIRouter()
@router.post("/login")
something like this I guess;
another edited response
async def login(username: str, password: str):
return {"message": "User logged in successfully", "username": username}
testing some stuff.
a new way to make this work so fineee
continuting my work is like this