I have a html code such as:
<form action="/labeling?id={{id}}" method="get" target="hiddenFrame">
<input type="radio" name="options" value="x" onchange="this.form.submit()"> X<br>
<input type="radio" name="options" value="y" onchange="this.form.submit()"> y<br>
</form>
and the python code that gets the id of the element:
@app.route('/labeling', methods=['GET', 'POST']) def labeling():
value = request.form['options']
d_id = request.form['id']
but it does not sent the values of id in the GET request? why?