trpc + fastify POST request not working
I have a trpc mutation like this:
I am trying to call it via HTTP:
it errors with:
"code": -32600, "data": { "code": "BAD_REQUEST", "httpStatus": 400, .....}Not sure whats going on or why is it erroring. Any help is appreciated 🙂
1 Reply
probably that you use superjson
so you need to pass something like