Internal Redirect in Flask
问题 In short: By only using the Flask micro-framework (and its dependencies) can we perform an internal redirect from one route to another? For example: User submits the registration form (both username and password ) to @app.route('/register', methods=['POST']) If the registration is successful, Flask internally does an HTTP POST to @app.route('/login', methods['POST']) passing the username and password Process and log in the user Details: I am building a REST API using Flask and the Flask-JWT