Theo's Typesafe CultTTC
Theo's Typesafe Cult3y ago
4 replies
pach

is it "ideal" to directly fetch /api/trpc/route.procedure in another server

im wanting to use my create-t3-app app as main source of data for a different server, and for this i need to access data from the trpc server on the the other server, is it a good idea to just fetch (for example) http://localhost:3000/api/trpc/route.exampleProcedure in this other server
the procedure is public anyway so handling request authentication doesnt need to be done
Was this page helpful?