flask add_url_rule with parameter code example Example: flask add_url_rule url_for(..., _external=True)