infidea commited on
Commit
ac9d7ff
·
1 Parent(s): 5534b61

add new route

Browse files
Files changed (1) hide show
  1. app.py +4 -0
app.py CHANGED
@@ -5,3 +5,7 @@ app = FastAPI()
5
  @app.get("/")
6
  def greet_json():
7
  return {"Hello": "World!"}
 
 
 
 
 
5
  @app.get("/")
6
  def greet_json():
7
  return {"Hello": "World!"}
8
+
9
+ @app.post("/")
10
+ def greet_json():
11
+ return {"Hello": "World!"}