
Welcome to pre-request’s document. This framework is designed to validate params for Flask request params, this framework can validate complex struct and field, including Cross Field, Cross Struct.
User’s Guide¶
This part of the documentation will instruct how to use pre-request in your flask project。
- Installation
- Quickstart
- Validate Rules
- location
- deep
- type
- skip
- multi
- structure
- required
- required_with
- default
- split
- trim
- enum
- reg
- contains
- contains_any
- excludes
- startswith
- not_endswith
- endswith
- not_endswith
- lower
- upper
- ipv4/ipv6
- mac
- url_encode
- url_decode
- alpha
- alphanum
- numeric
- number
- fmt
- latitude / longitude
- eq / eq_key
- neq / neq_key
- gt / gt_key
- gte / gte_key
- lt / lt_key
- lte / lte_key
- dest
- json
- callback
- Customize