WSGI Flask Application with RESTful API
by Kirby Urner
Oregon Curriculum Network
A tiny Flask application, used in my forty hour Python course as an example.
Open Source: feel free to clone
- Source Code on Github (public repo)
- Dissecting a Flask App (blog post)
- More Python on Github (public repo)
- More Links to Fun Places (public links)
Here's the API:
Edit allows updating fields using POST, however Add and Delete are only stubs. Editing requires setting a secret key in your local copy.
Remote posting of new records is partially implemented (example script), for adding to any database.