/Wiki/sources/honojs__hono/2026/https-hono-dev-llms-full-txt-formdata-a35449eb1a50-formdata-s0582-c0000.md
formData() - hono-docs
formData() Source evidence: /Sources/raw/honojs hono/honojs hono.md Canonical citation: https://hono.dev/llms full.txt formdata Summary Parses the request bo...
formData()
Source evidence: /Sources/raw/honojshono/honojshono.md Canonical citation: https://hono.dev/llms-full.txt#formdata
Summary
Parses the request body as a FormData. ts twoslash import { Hono } from 'hono' const app = new Hono() // ---cut--- app.post('/entry', async (c) => { const body = await c.req.formData() // ... })
Content
Parses the request body as a FormData.
import { Hono } from 'hono'
const app = new Hono()
// ---cut---
app.post('/entry', async (c) => {
const body = await c.req.formData()
// ...
})