After submitting a regular HTML form the body appears empty on the Hono endpoint.
The content type arrives as expected but the body is completely empty:
<form method="post" action="/route">
endpoints.post('/route', async (c) => {
const contentType = c.req.header('content-type');
console.log('Content-Type Header:', contentType);
const rawText = await c.req.text();
console.log('Raw Body Text:', rawText);
// etc
});
I'm guessing something happens with the body with Vite's dev server?
Not sure if this is out of scope for @hono/vite-dev-server though. If not maybe a note should be added to the README.
After submitting a regular HTML form the body appears empty on the Hono endpoint.
The content type arrives as expected but the body is completely empty:
I'm guessing something happens with the body with Vite's dev server?
Not sure if this is out of scope for
@hono/vite-dev-serverthough. If not maybe a note should be added to the README.