Files
template-backend/src/application/routers/api.py
2024-08-12 22:22:51 +03:00

15 lines
269 B
Python

from starlette import status
from starlette.responses import JSONResponse
from . import router
@router.get("/example")
async def example():
return JSONResponse(
status_code=status.HTTP_200_OK,
content={
"status": "OK"
}
)