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

9 lines
254 B
Python

from fastapi import APIRouter, status
from typing import List
router = APIRouter()
@router.post("/login", status_code=status.HTTP_200_OK, response_model=List[str])
async def login():
names = ["John", "Jane", "Bob", "Alice", "Mike"]
return names