App / app.py
AsadCognify's picture
Create app.py
3389675 verified
raw
history blame
212 Bytes
from fastapi import FastAPI
from fastapi.responses import JSONResponse
app = FastAPI()
@app.get("/ping")
async def ping():
print("Received ping request")
return JSONResponse(content={"message": "pong"})