mirror of
https://github.com/fastapi/fastapi.git
synced 2026-01-02 19:18:19 -05:00
Co-authored-by: Yurii Motov <yurii.motov.monte@gmail.com> Co-authored-by: Motov Yurii <109919500+YuriiMotov@users.noreply.github.com>
9 lines
147 B
Python
9 lines
147 B
Python
from fastapi import APIRouter
|
|
|
|
router = APIRouter()
|
|
|
|
|
|
@router.post("/")
|
|
async def update_admin():
|
|
return {"message": "Admin getting schwifty"}
|