Python Flask
Jump to navigation
Jump to search
Quick Getting Started
Example
Error Messaging in Rest API
http://flask.pocoo.org/docs/1.0/patterns/apierrors/
Testing
http://flask.pocoo.org/docs/1.0/testing/
Resources
- https://goonan.io/flask-wtf-tricks/
- https://github.com/mbithenzomo/project-dream-team-three/tree/master/app
- https://gist.github.com/cuibonobo/8696392
- https://www.digitalocean.com/community/tutorials/how-to-structure-large-flask-applications
- https://github.com/Robpol86/Flask-Large-Application-Example
- http://flask.pocoo.org/docs/1.0/patterns/packages/
- https://blog.miguelgrinberg.com/post/the-flask-mega-tutorial-part-i-hello-world
- https://www.codementor.io/sheena/understanding-sqlalchemy-cheat-sheet-du107lawl
- https://scotch.io/tutorials/build-a-crud-web-app-with-python-and-flask-part-three
- https://scotch.io/tutorials/build-a-crud-web-app-with-python-and-flask-part-two
- https://scotch.io/tutorials/build-a-crud-web-app-with-python-and-flask-part-one
- https://dzone.com/articles/flask-101-adding-editing-and-displaying-data
- https://testdriven.io/blog/developing-a-single-page-app-with-flask-and-vuejs/
- https://realpython.com/python-web-applications-with-flask-part-ii/
Recaptcha
https://flask-wtf.readthedocs.io/en/stable/form.html#recaptcha
With PATCH requests you retrieve request data the same way you do for every other request type (e.g. POST). Depending on how you send your data, there are several ways to retrieve it: Sending as application/json: data = request.json Sending as application/x-www-form-urlencoded (form data) data = request.form Sending as raw body with no Content-Type header: data = request.data The last one will give you a bytes string that you will then have to process accordingly. For your use case I suggest using the first example and add a Content-Type: application/json header when you send your PATCH request.