Update code in endpoints/api/v1/endpoint.post.py
This commit is contained in:
parent
4f6d5152bd
commit
750b7122dc
16
endpoints/api/v1/endpoint.post.py
Normal file
16
endpoints/api/v1/endpoint.post.py
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
from fastapi import APIRouter, Depends, HTTPException
|
||||||
|
from core.database import fake_users_db
|
||||||
|
|
||||||
|
router = APIRouter()
|
||||||
|
|
||||||
|
@router.post("/api/v1/endpoint")
|
||||||
|
async def skibidi_endpoint():
|
||||||
|
"""Demo skibidi endpoint"""
|
||||||
|
return {
|
||||||
|
"message": "Success",
|
||||||
|
"data": "skibidi yooo",
|
||||||
|
"metadata": {
|
||||||
|
"response_type": "text",
|
||||||
|
"timestamp": "demo_response"
|
||||||
|
}
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user