16 lines
386 B
Python
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"
|
|
}
|
|
} |