Question 12
Consider the following flask application.
app.py
from flask import Flask, abort, request
app = Flask(__name__)
@app.route('/process')def process(): username = request.args.get('uname', 'MAD-I') if username.isnumeric(): abort(400, "Bad Request: Numeric username provided") return f'<h1>Valid Username: {username}</h1>'
app.run(debug=True)Which of the following statements is/are true if the application is running locally on http://127.0.0.1:5000 ?