/Knowledge/sources/honojs__hono/llms-full/validation-manual-validator--part-03--b79acf5714fa.md
Validation: Manual validator (part 03) - hono-docs
Validation: Manual validator (part 03) Source evidence: /Sources/honojs hono/provenance.md Canonical citation: https://hono.dev/llms full.txt manual validato...
Validation: Manual validator (part 03)
Source evidence: /Sources/honojs__hono/provenance.md Canonical citation: https://hono.dev/llms-full.txt#manual-validator
Summary
## Content
```ts
// ❌ this will not work
const res = await app.request('/testing', {
method: 'POST',
body: JSON.stringify({ key: 'value' }),
})
const data = await res.json()
console.log(data) // {}
// ✅ this will work
const res = await app.request('/testing', {
method: 'POST',
body: JSON.stringify({ key: 'value' }),
headers: new Headers({ 'Content-Type': 'application/json' }),
})
const data = await res.json()
console.log(data) // { key: 'value' }
Metadata
{
"chunk_index": 2,
"citation": "https://hono.dev/llms-full.txt#manual-validator",
"coverage_role": "overview",
"qualified_title": "Hono / llms-full / Validation > Manual validator (3)",
"retrieved_at": "2026-07-02T05:51:01Z",
"section_index": 101,
"source_id": "/honojs/hono",
"source_type": "llms_full",
"target_label": "llms-full",
"title": "Validation: Manual validator (part 03)",
"upstream_url": "https://hono.dev/llms-full.txt",
"version": "2026"
}