Python jQuery Flask. More than 5 years have passed since last update. Python自体ちゃんと勉強してませんのでコードがアレかも。 ...Flask is for creating endpoints URL Functions. The request is for telling the Function for GET or POST response. The render_template is for attaching or rendering the HTML file created. Jsonify is using to return or create the JSON response.