mobixconsulting commited on
Commit
c50d0da
1 Parent(s): b570086

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +4 -0
main.py CHANGED
@@ -3,6 +3,10 @@ import requests
3
 
4
  app = FastAPI()
5
 
 
 
 
 
6
  @app.get("/eatc-headers/{eatc_code}")
7
  async def get_eatc_headers(eatc_code: str):
8
  url = f"https://donantes.eatcloud.info/api/abaco/eatc_dona_headers?eatc-code={eatc_code}"
 
3
 
4
  app = FastAPI()
5
 
6
+ @app.get("/")
7
+ async def root():
8
+ return {"message": "Hello World"}
9
+
10
  @app.get("/eatc-headers/{eatc_code}")
11
  async def get_eatc_headers(eatc_code: str):
12
  url = f"https://donantes.eatcloud.info/api/abaco/eatc_dona_headers?eatc-code={eatc_code}"