How to send dynamically a value from HTML on Flask?

Solution



@app.route("/delete_country/", methods=['POST'])
def delete_country(id):
    id_country = id
    return id_country