Question 2
Consider the following HTML and Python flask code.
Assume that the Flask app is running at http://127.0.0.1:5000.\ Based on the above data, answer the given subquestions.
Which of the following statements are correct? Statement 1: Accessing the URL: http://127.0.0.1:5000 directly in the browser makes a GET request. Statement 2: Clicking on the Submit button will invoke the POST request method.
Both statements are correct
Both statements are incorrect.
Statement 1 is incorrect, but statement 2 is correct.
Statement 2 is incorrect, but statement 1 is correct.