Compare commits
2 Commits
master
...
s473570-pa
Author | SHA1 | Date | |
---|---|---|---|
27d1c2216b | |||
6b07f5eec8 |
6
app.py
6
app.py
@ -6,12 +6,10 @@ app = Flask(__name__)
|
|||||||
|
|
||||||
@app.route('/test_app1', methods=['POST', 'GET'])
|
@app.route('/test_app1', methods=['POST', 'GET'])
|
||||||
def route1():
|
def route1():
|
||||||
a = 104
|
|
||||||
b = 11
|
|
||||||
try:
|
try:
|
||||||
return """4545This is automatically updating application """+ str(a+b)
|
return """Hello im test_app12222333, you can update my code by update git code"""
|
||||||
except:
|
except:
|
||||||
return "400", 400
|
return "400", 400
|
||||||
|
|
||||||
|
|
||||||
app.run(host='0.0.0.0', port=6960)
|
app.run(host='0.0.0.0', port=6960)
|
Loading…
Reference in New Issue
Block a user