ssboost commited on
Commit
9129679
·
verified ·
1 Parent(s): 4120bfc

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -0
app.py CHANGED
@@ -16,6 +16,11 @@ app = FastAPI()
16
  async def read_root():
17
  return {"message": "Welcome to the FastAPI application!"}
18
 
 
 
 
 
 
19
  @app.get("/health")
20
  async def health_check():
21
  return {"status": "healthy"}
 
16
  async def read_root():
17
  return {"message": "Welcome to the FastAPI application!"}
18
 
19
+ @app.get("/test")
20
+ async def test_endpoint():
21
+ return {"status": "This is a test endpoint and it's working!"}
22
+
23
+
24
  @app.get("/health")
25
  async def health_check():
26
  return {"status": "healthy"}