7 lines
131 B
Python
7 lines
131 B
Python
from fastapi import APIRouter
|
|
|
|
router = APIRouter()
|
|
|
|
@router.get("/hello")
|
|
async def say_world():
|
|
return {"msg":"Hello WORLD!"} |