cortex.cpp
cortex.cpp copied to clipboard
Implement JSON_VALIDATOR for multi-part form data type
Currently only support JSON form, so if use for multi-part endpoint will have issue
can you elaborate on this issue pls
Problem:
- Currently the JSON_VALIDATOR macro only work for native json only endpoint and does not support multipart form data, this make the multipart form data not able to validate the request
Outcome:
- JSON_VALIDATOR macro for multi-part form data
doing validation in this environment seems not ideal will be postponed or reconsidered later