Update code in endpoints/api/v1/endpoint.post.py
This commit is contained in:
parent
1a435db958
commit
c38cd93352
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 captain_marv_endpoint():
|
||||||
|
"""Return Captain Marv appreciation message"""
|
||||||
|
return {
|
||||||
|
"message": "Success",
|
||||||
|
"text": "captain marv is literally the best",
|
||||||
|
"metadata": {
|
||||||
|
"source": "appreciation_service",
|
||||||
|
"timestamp": "now"
|
||||||
|
}
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user