Update code in endpoints/new-endpoint.get.py
This commit is contained in:
parent
9327d7fe19
commit
4c86fce715
@ -0,0 +1,10 @@
|
|||||||
|
from fastapi import APIRouter, Depends, HTTPException
|
||||||
|
|
||||||
|
router = APIRouter()
|
||||||
|
|
||||||
|
@router.get("/new-endpoint")
|
||||||
|
async def new_endpoint_handler():
|
||||||
|
"""Demo endpoint"""
|
||||||
|
return {
|
||||||
|
"message": "this stuff fucking works, yoo!!!"
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user