Follow me on GitHub

Flask for beginners
Change http status code on the fly in flask application



Working with flask as web application or restful api its very nice, and its open up for many different cases, the good thing with flask its very simple to start with in python and over time you can allways learn more about python and flask.

Learn how you can change http status code in a flask application in python when you need, eg. if you create a user auth its will be cool to change the http status code in flask to 403 Forbidden if the user do not have access to the api function our web application page.