Olivier-52 commited on
Commit
ed8dfdd
·
1 Parent(s): 362c37d

Update to post method

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -48,7 +48,7 @@ app = FastAPI(
48
  },
49
  openapi_tags=tags_metadata,)
50
 
51
- @app.get("/")
52
  def index():
53
  """Return a message to the user.
54
 
 
48
  },
49
  openapi_tags=tags_metadata,)
50
 
51
+ @app.post("/")
52
  def index():
53
  """Return a message to the user.
54