feat: Add endpoint another-oneeee
This commit is contained in:
parent
feb7c788e5
commit
c28ae45150
9
app/api/endpoints/another-oneeee.py
Normal file
9
app/api/endpoints/another-oneeee.py
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
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}
|
Loading…
x
Reference in New Issue
Block a user