1 2 3 4 5 6 7 8 9
from flask import Blueprint bp = Blueprint("ap", __name__) bp.route("/u/<user>", methods=["GET"]) def get_user(user): return 500