1from flask import request
2
3@app.route('/my-route')
4def my_route():
5 page = request.args.get('page', default = 1, type = int)
6 filter = request.args.get('filter', default = '*', type = str)
1from flask import request
2
3@app.route(...)
4def login():
5 username = request.args.get('username')
6 password = request.args.get('password')