Question: Which route handler would be called for the following HTTP request? GET / HTTP/1.1 Connection: close Host: foo.example.com Group of answer choices @app.route(/) @app.route(/home, methods=[GET])
Which route handler would be called for the following HTTP request?
GET / HTTP/1.1 Connection: close Host: foo.example.com
Group of answer choices
@app.route("/")
@app.route("/home", methods=["GET"])
@app.route("/", methods=["PUT", "POST"])
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
