Update code in endpoints/api/v1/endpoint.post.py
This commit is contained in:
parent
e9a1a41dc2
commit
b107dc3e50
@ -5,12 +5,12 @@ router = APIRouter()
|
|||||||
|
|
||||||
@router.post("/api/v1/endpoint")
|
@router.post("/api/v1/endpoint")
|
||||||
async def skibidi_endpoint():
|
async def skibidi_endpoint():
|
||||||
"""Return skibidi yoo message"""
|
"""Demo skibidi endpoint"""
|
||||||
return {
|
return {
|
||||||
"message": "Request successful",
|
"message": "Request successful",
|
||||||
"data": "skibidi yoo",
|
"data": "skibidi yoo",
|
||||||
"metadata": {
|
"metadata": {
|
||||||
"source": "demo_endpoint",
|
"source": "demo_endpoint",
|
||||||
"timestamp": "2024"
|
"timestamp": "now"
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
x
Reference in New Issue
Block a user