11 lines
272 B
Python
11 lines
272 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.
|