PotatisMannen
PotatisMannen2y ago

how do you consume trpc endpoints from postman?

I'm currently trying to set up testing for a full stack project while using trpc. but im unsure how i can test if the trpc endpoints are working without having to write FE code. This could be useful during QA etc. has anyone tried this before?
Solution:
Some 3rd party libraries: trpc-panel: https://github.com/iway1/trpc-panel trpc-playground: https://github.com/sachinraja/trpc-playground Using postman is a bit awkward due to the RPC specification shape, there was a postman script which makes it easier to test using postman, search around on this discord server or through the issues on the main trpc repo, you'll find something....
Jump to solution
2 Replies
Solution
Dani;
Dani;2y ago
Some 3rd party libraries: trpc-panel: https://github.com/iway1/trpc-panel trpc-playground: https://github.com/sachinraja/trpc-playground Using postman is a bit awkward due to the RPC specification shape, there was a postman script which makes it easier to test using postman, search around on this discord server or through the issues on the main trpc repo, you'll find something.
PotatisMannen
PotatisMannenOP2y ago
this is very cool! exactly what im looking for thanks!

Did you find this page helpful?