The following does not return a response:
@app.route('/hello', methods=['GET', 'POST'])
def hello():
hello_world()
You mean to say...
@app.route('/hello', methods=['GET', 'POST'])
def hello():
return hello_world()
Note the addition of return
in this fixed function.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…