examples/flask/1/echo_post_debug.py
from flask import Flask, request
app = Flask(__name__)
 
@app.route("/")
def hello():
    return render_template('index.html')

@app.route("/echo", methods=['POST'])
def echo(): 
    return "You said: " + request.form['text']
 
 
if __name__ == "__main__":
    app.run(debug=True)