/Wiki/sources/honojs__hono/2026/https-hono-dev-llms-full-txt-text-90153a5fde3c-text-s0579-c0000.md
text() - hono-docs
text() Source evidence: /Sources/raw/honojs hono/honojs hono.md Canonical citation: https://hono.dev/llms full.txt text Summary Parses the request body of ty...
text()
Source evidence: /Sources/raw/honojshono/honojshono.md Canonical citation: https://hono.dev/llms-full.txt#text
Summary
Parses the request body of type text/plain ts twoslash import { Hono } from 'hono' const app = new Hono() // ---cut--- app.post('/entry', async (c) => { const body = await c.req.text() // ... })
Content
Parses the request body of type text/plain
import { Hono } from 'hono'
const app = new Hono()
// ---cut---
app.post('/entry', async (c) => {
const body = await c.req.text()
// ...
})