Appearance
You can upload a file with multipart/form-data content type. The uploaded file will be available in c.req.parseBody().
multipart/form-data
c.req.parseBody()
const app = new Hono() app.post('/upload', async (c) => { const body = await c.req.parseBody() console.log(body['file']) // File | string })