7 lines
124 B
Python
7 lines
124 B
Python
from fastapi import APIRouter
|
|
|
|
router = APIRouter()
|
|
|
|
@router.get("/hello")
|
|
async def say_hello():
|
|
return {"msg":"hello"} |