Closed adityabrahmankar closed 3 weeks ago
I had the same problem.
Hi @adityabrahmankar @985563349
Please share a minimal project to reproduce it.
Tried again no issue this time !!
@yusukebe I found that calling await c.req.json() throws Malformed JSON in request body after using verifyAuth middleware. sorry, this example is a bit complicated and I don't know how to organize it yet.
I use the package version: βhonoβ:β^4.6.7β, β@hono/auth-jsβ:β^1.0.13β,
Hey !
I am using zValidator middleware and even after passing the headers for content-type as application/json I am getting the error Malformed JSON in request body. Also the image shows the content-type as plain-text π