TRPC Invalid type error

Im trying to call my trpc endpoint from my chrome extension and im getting confused over the format i need to call it. What is the correct way to call a trpc endpoint when not in the next environment.
2 Replies
cje
cje•3y ago
use your devtools to see what trpc requests should look like the body is different than "normal" http requests you could use trpc-openapi to expose it as a "normal" rest endpoint
Max
MaxOP•3y ago
perfect thank you cje 🙂
Want results from more Discord servers?
Add your server