HMPhuoc commited on
Commit
4de9537
1 Parent(s): bf59c35

add test route

Browse files
Files changed (1) hide show
  1. main.py +4 -0
main.py CHANGED
@@ -6,6 +6,10 @@ app = Flask(__name__)
6
  def hello():
7
  return {"hello":"Deploy success"}
8
 
 
 
 
 
9
  @app.route("/test/<text>")
10
  def returnText(text):
11
  return f'The text is {text}'
 
6
  def hello():
7
  return {"hello":"Deploy success"}
8
 
9
+ @app.route("/test")
10
+ def test():
11
+ return "Test success"
12
+
13
  @app.route("/test/<text>")
14
  def returnText(text):
15
  return f'The text is {text}'