Search
Star
Feedback
Setup for Free
© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Posting files in multipart/form-data gives empty string - Hono
H
Hono
•
2y ago
•
1 reply
jacob
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
name
expected to be a string and
image
image
expected to be a file
.
But on the receiving end I get
{ name: 'test', image: '' }
{ name: 'test', image: '' }
, from both
req.parseBody()
req.parseBody()
&
req.formData()
req.formData()
I
'm using CF Workers
Hono
Join
This is the official Hono discord server for the community
4,418
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Recent Announcements
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
File arriving in larger than expected size in multipart/form-data
H
Hono / help
5mo ago
How to respond with multipart/form-data, containing image and json?
H
Hono / help
15mo ago
Form data error
H
Hono / help
11mo ago
static files 404 when in subdirectory of assets
H
Hono / help
12mo ago