falcon-jsonify icon indicating copy to clipboard operation
falcon-jsonify copied to clipboard

Can We implement a custom validation mechanism?

Open abdulwahid24 opened this issue 6 years ago • 1 comments

Hi,

I developed a file upload API and wanted to create a custom validation based on file extension. I am using get_param method. So how can we treat file field in get_json method?

Let's me any workaround.

Thanks

abdulwahid24 avatar Jul 18 '18 20:07 abdulwahid24

How does your code look like now (with get_param)? How you wish it looked like with get_json?

Can We implement a custom validation mechanism?

PR is welcome for this feature.

AndreiRegiani avatar Jul 23 '18 13:07 AndreiRegiani