feat: Add endpoint something-else-new
This commit is contained in:
parent
c28ae45150
commit
3e9344bbbf
9
app/api/endpoints/something-else-new.py
Normal file
9
app/api/endpoints/something-else-new.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