daimaou-wzlzvh/endpoints/login.post.py
2025-03-28 19:33:39 +00:00

12 lines
260 B
Python

from fastapi import APIRouter, HTTPException, status
router = APIRouter()
@router.post("/login", status_code=200)
async def login():
names = {
"first_name": "John",
"last_name": "Doe",
"middle_name": "Smith"
}
return names