Update 'app.py'
This commit is contained in:
parent
6c6919eaa0
commit
93e892ab35
4
app.py
4
app.py
@ -6,8 +6,10 @@ app = Flask(__name__)
|
|||||||
|
|
||||||
@app.route('/test_app1', methods=['POST', 'GET'])
|
@app.route('/test_app1', methods=['POST', 'GET'])
|
||||||
def route1():
|
def route1():
|
||||||
|
a = 10
|
||||||
|
b = 11
|
||||||
try:
|
try:
|
||||||
return """This is automatically updating application 123"""
|
return """This is automatically updating application """+ str(a+b)
|
||||||
except:
|
except:
|
||||||
return "400", 400
|
return "400", 400
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user