10 lines
204 B
Python
10 lines
204 B
Python
from fastapi import APIRouter, Depends
|
|
|
|
router = APIRouter()
|
|
|
|
@router.post("/some-endpoint")
|
|
async def some_endpoint_handler():
|
|
"""Demo endpoint"""
|
|
return {
|
|
"message": "yolooo maxxx"
|
|
} |