⚠️ This package is no longer maintained. The Flask-Inputs package on PyPi (version 0.3.0) supports up to Python 3.8. Any further breaking changes will no longer be supported or fixed. Feel free to fork this project and continue improving it.
WTForms is awesome for validating POST data. What about other request data?
The Flask-Inputs extension adds support for WTForms to validate request data from args to headers to json.
To install Flask-Inputs, simply:
$ pip install flask-inputs
JSON validation requires jsonschema:
$ pip install jsonschema
Documentation is available at http://pythonhosted.org/Flask-Inputs
Feel free to fork this repository and republish it. I will no longer be maintaining this project.