19 lines
430 B
Python
19 lines
430 B
Python
from fastapi import APIRouter, Depends, HTTPException
|
|
from core.database import fake_users_db
|
|
|
|
router = APIRouter()
|
|
|
|
@router.post("/lol")
|
|
async def lol_handler():
|
|
"""Demo lol endpoint"""
|
|
return {
|
|
"message": "LOL successful",
|
|
"data": {
|
|
"emoji": "😂",
|
|
"intensity": "high"
|
|
},
|
|
"metadata": {
|
|
"timestamp": "now",
|
|
"mood": "playful"
|
|
}
|
|
} |