Question 16
Consider the following HTML and Python flask code.
Based on the above data, answer the given subquestions.
Which of the following statements are correct for the statements below? Statement 1: Accessing the URL: http://127.0.0.1:5000 directly in the browser makes a POST request. Statement 2: Clicking on the Submit button will invoke the GET 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.