Open thelovekesh opened 1 week ago
if you are using along with hono, you can parseBody first then ask to validate schema. Sample request schema definition:
Handle:
Here you have body.file is the FIle instance Hope this help
Thanks @tam-nique, that's helpful. But I was looking for something out of the box as the application/x-www-form-urlencoded
and multipart/form-data
are largely used content encodings.
I could put up a PR but need some guidance/confirmation from the maintainers.
It seems like this implementation only currently supports content-type
applciation/json
. Is it possible to useapplication/x-www-form-urlencoded
by any chance?