-1

today I had a problem, I tried to pass an argument without make it visible, but if I use: return redirect(url_for('results.get_chapters', title=button)) the variable "button" is visible on the link for example:

https://localhost:5000/variabletext

Anyone knows a solution without using session method from Flask (it can create problems on my code)?

davidism
  • 110,080
  • 24
  • 357
  • 317
tonno7103
  • 11
  • 2

1 Answers1

1

redirect is a get call, so it uses the url. use a post-call instead.

Medrik
  • 39
  • 5