import Common from fastapi import FastAPI DEFALUT_N8N_HEARTBEAT_URL = "https://bbqdennisex-n8n-free.hf.space/webhook/heartbeat" app = FastAPI() @app.get("/") def greet_json(): return {"Hello": "World!"} @app.get("/heartbeat") def heartbeat_json(): return Common.call_get_api(DEFALUT_N8N_HEARTBEAT_URL, {})