Posting files in multipart/form-data gives empty string
Hey everyone.
I've run into a problem where when I try to upload a file to my hono application as multipart/form-data all I get back is an empty string.
In my form I am sending a key of
name
expected to be a string and image
expected to be a file.
But on the receiving end I get { name: 'test', image: '' }
, from both req.parseBody()
& req.formData()
I'm using CF Workers1 Reply
update: I tried uploading a file via postman and it was working as expected. It seems that the blob sent from my react native application may be corrupt or incompatible in some way