I'm unable to make a GET request in postman. But able to make post requests
I get:
expected object received undefined
what could i be doing wrong?
these are my routes, the problem is with testRoute
:
Here's how i implemented in my expressJS app:
Postman GET Request: Please view image
Using the latest versions of trpc/server1 Reply
issue here is that queries take input as a query parameter, not in the body. see https://trpc.io/docs/rpc
HTTP RPC Specification | tRPC
Methods Type mapping