Parse and Validate with reqparse
Validate arguments before handling them.
Trust No Input
Clients send messy or missing data. You need to validate arguments before your handler ever uses them. 🛡️
Meet reqparse
Flask-RESTful bundles reqparse, a small tool that declares which arguments a request must carry.
from flask_restful import reqparseAll lessons in this course
- Resource Classes and the Api Object
- Map HTTP Methods to Class Handlers
- Parse and Validate with reqparse
- Blueprint-Mounted REST Resources