simple-apip / gmd_api.py
hadipk52's picture
app demo
9a177f4 verified
Raw History Blame Contribute Delete
197 Bytes
from fastapi import FastAPI
app = FastAPI(title="Simple API")
@app.get("/")
def root():
return {"message": "API is running"}
@app.get("/health")
def health():
return {"status": "online"}