(feel free to browse anyway)
python flasktest.py
- go to
http://127.0.0.1:5000/
- Route options:
/hello/<user>
displays a variable that's passed: examplehttp://127.0.0.1:5000/hello/austin
/score/<int:score>
evaluates an int that is passed and displays a result, pass if >= 10 (refer totemplates/score.html
) or fail if it's not: examplehttp://127.0.0.1:5000/score/5
/table
which outputs a dictionary as a table: examplehttp://127.0.0.1:5000/table
- Fill the table on line 15 in
flasktest.py
- Fill the table on line 15 in
- Route options:
- Austin Harshberger