1. Line 1 in the following form, in order for it to allow comments to be entered into the form and be stored in the database, should be: form action="http://127.0.0.1:5000/add" method="get"
2. Flask has different decorators to handle HTTP requests. The Hypertext Transfer Protocol (HTTP) is designed to ___________________________.
3. Consider the following table. Fill in the blanks for the POST request definition.
4. To access incoming data in Flask, we use the request object. The request object holds all incoming data from the request, which includes the mimetype, referrer, IP address, raw data, ___________, and headers, among other things.
5. HTTP works as a request-response protocol between a client and server. The two most common HTTP methods are: _____________.
6. _____ requests are often used when uploading a file or when submitting a completed web form.
7. The following code is the corresponding function in the main python file that is related to the form. Assuming the request is a POST request, which of the following statements is true?
8. Consider the following python function. (relating to the above two questions). Which of the following statements is most accurate?
9. What is wrong with the following route declaration? Why will it not correctly render the desired page?
10. Modern web applications use meaningful URLs to help users. The route() decorator, as shown in the code below, are used to: