@app.route('/', methods=['POST'])
def my_form_post():
    text = request.form['text']
processed_text = text.upper()
return processed_text
if __name__ == '__main__':
    app.run()
Send Data from a textbox into Flask?