tRPCttRPC
Powered by
zerovbZ
tRPC•3y ago•
1 reply
zerovb

Query param in every client request

Hi !

Im wondering if there is a way to add query params in every request without creating a custom fetch. I only need to forward one query param from the browser URL to the trpc where my procedures are hosted plus the authorization header. Would like to avoid adding a fetch middleware system.

thanks!
tRPCJoin
Move Fast & Break Nothing. End-to-end typesafe APIs made easy.
5,015Members
Resources
Recent Announcements

Similar Threads

Was this page helpful?

Similar Threads

Create client that is used in every request, without re-creating client
santiSsanti / ❓-help
2y ago
how to set request timeout in client
backboneBbackbone / ❓-help
3y ago
Client request headers with createTRPCProxyClient
NeoBeanNNeoBean / ❓-help
2y ago
trpc client request size limits?
ferdyFferdy / ❓-help
3y ago