How to remove parameters from URL in Flask python -
In my website I have URLs that will be backward like parameters:
example .com / MagicPage /? P = 10 & amp; D = draft Is there a way to remove these parameters after the request is processed? So when the user clicks on a link, the parameters are passed, but the visible URL only example.com/magicpage
more details:
@ app.route ("/ Magic page") DEIF Magic page (): Parameter parameters and work complete remove the indexed parameters in the URL, return to the render page
There are two ways to do this.
Option 1: Use POST parameter instead of GET.
If the parameter adds a HTML form, method = post to and
Comments
Post a Comment