English | 简体中文 | 繁體中文 | Русский язык | Français | Español | Português | Deutsch | 日本語 | 한국어 | Italiano | بالعربية

Flask Request Object

Data from the client web page is sent to the server as a global request object. To handle request data, the request object should be imported from the Flask module.

The important properties of the request object are listed as follows -

form - It is a dictionary object that contains key-value pairs of form parameters and their values. args - Content of the query string part after the question mark (?) in the URL. cookies - Dictionary object that saves the name and value of the Cookie. file - Data related to the uploaded file. method - Current Request Method.