How to pass a variable to a flask app route through a html button

Solution
 Delete
@app.route("/delete/")