demongodYY commited on
Commit
c9f1281
·
1 Parent(s): 420f3d2

update api

Browse files
Files changed (1) hide show
  1. app.py +7 -1
app.py CHANGED
@@ -2,6 +2,12 @@ from fastapi import FastAPI
2
 
3
  app = FastAPI()
4
 
 
5
  @app.get("/")
6
  def greet_json():
7
- return {"Hello": "World!"}
 
 
 
 
 
 
2
 
3
  app = FastAPI()
4
 
5
+
6
  @app.get("/")
7
  def greet_json():
8
+ return {"Hello": "World!"}
9
+
10
+
11
+ @app.get("/heath")
12
+ def health_str():
13
+ return "OK"