Flask – Request Object

The data from a client's site page is sent to the server as a worldwide request object. So as to process the request data, it should to be imported from the Flask module.

Important characteristics of request article are recorded underneath −

  • Form − It is a dictionary reference article containing key and value pairs of structure parameters and their values.

  • args − parsed substance of inquiry string which is a part of URL after question mark (?).

  • Cookies − dictionary reference article holding Cookie names and values.

  • files − data pertaining to uploaded file.

  • method − current request method.