Want to get the named parameters from a URL using Flask in Python? Use
request.args to get parsed contents of query string:
from flask import request
username = request.args.get('username')
password = request.args.get('password')
If you like this question & answer and want to contribute, then write your question & answer and email to freewebmentor[@]gmail.com. Your question and answer will appear on FreeWebMentor.com and help other developers.