from flask import request @app.route('/stuff', methods=['GET', 'POST']) def login(): username = request.args.get('username') password = request.args.get('password')