Hi The idea of my code is to allow the user to submit an ID through using this form
@app.route('/')
def home():
return '''
<form method="get">
<textarea name="textbox"></textarea>
<button type="submit" name="submit">Submit</button>
</form> '''
Then the user ID is read by this route and other calculations are done
@app.route('/')
def api_id():
text = request.form.get('textbox')
## Do other calculations
My issue is that when the user inputs the ID nothing happens, only the URL changes but the calculations are not reflected.. Can you please help?