Update code in endpoints/lol.post.py
This commit is contained in:
parent
32667882ad
commit
c7b0a26eeb
@ -0,0 +1,19 @@
|
||||
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"
|
||||
}
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user