Update code in endpoints/some-endpoint.post.py
This commit is contained in:
parent
80062ada68
commit
3a35d99ca9
8
endpoints/some-endpoint.post.py
Normal file
8
endpoints/some-endpoint.post.py
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
from fastapi import APIRouter, Depends
|
||||||
|
|
||||||
|
router = APIRouter()
|
||||||
|
|
||||||
|
@router.post("/some-endpoint")
|
||||||
|
async def some_endpoint_handler():
|
||||||
|
"""Return 'yolooo'"""
|
||||||
|
return {"message": "yolooo"}
|
Loading…
x
Reference in New Issue
Block a user