cortex.cpp icon indicating copy to clipboard operation
cortex.cpp copied to clipboard

Implement JSON_VALIDATOR for multi-part form data type

Open tikikun opened this issue 2 years ago • 2 comments

Currently only support JSON form, so if use for multi-part endpoint will have issue

tikikun avatar Sep 11 '23 12:09 tikikun

can you elaborate on this issue pls

freelerobot avatar Sep 12 '23 04:09 freelerobot

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

tikikun avatar Sep 12 '23 06:09 tikikun

doing validation in this environment seems not ideal will be postponed or reconsidered later

tikikun avatar Feb 06 '24 05:02 tikikun