Question 25
Consider the following flask application.
from flask import Flask, requestapp = Flask(__name__)
@app.route('/home')def home(): var_a = request.args.get('method') if var_a == "GET": return "Hello from GET method"
elif var_a == "POST": return "Hello from POST method"
else: return "Invalid Method"
app.run(debug=True)If the application is running locally on http://127.0.0.1:5000 then which of the following statements are correct?