H
Hono2mo ago
LukeZ

The recommended way to get the raw request body

There is await c.req.text() but idk about that. I know how to do it in express (req.rawBody) but it's kinda unintuitieve for Hono. So what do I do?
2 Replies
ambergristle
ambergristle2mo ago
c.req.raw.body
LukeZ
LukeZOP2mo ago
alright 👍

Did you find this page helpful?