Stats

49 Contributors: 2 Friday, February 17, 2017
Licensed under: CC-BY-SA
Not affiliated with Stack Overflow
Rip Tutorial: riptutorial@gmail.com
Roadmap: roadmap

Flask

Introduction

Flask is a Python micro web framework used to run major websites including Pintrest, Twilio, and Linkedin. This topic explains and demonstrates the variety of features Flask offers for both front and back end web development.

Syntax

  • @app.route("/urlpath", methods=["GET", "POST", "DELETE", "PUTS", "HEAD", "OPTIONS"])
  • @app.route("/urlpath/<param>", methods=["GET", "POST", "DELETE", "PUTS", "HEAD", "OPTIONS"])

Related Examples