chidi-n0pecn/endpoints/api/v1/endpoint.post.py
2025-03-19 09:32:19 +00:00

16 lines
386 B
Python

from fastapi import APIRouter, Depends, HTTPException
from core.database import fake_users_db
router = APIRouter()
@router.post("/endpoint")
async def hello_endpoint():
"""Demo hello endpoint"""
return {
"message": "Hello from Backend.im",
"status": "success",
"metadata": {
"timestamp": "2024",
"version": "1.0"
}
}