T
tRPC

how do you consume trpc endpoints from postman?

how do you consume trpc endpoints from postman?

PPotatisMannen6/23/2023
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
Solution
DDani;6/23/2023
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.
PPotatisMannen6/23/2023
this is very cool! exactly what im looking for thanks!

Looking for more? Join the community!

T
tRPC

how do you consume trpc endpoints from postman?

Join Server
Recommended Posts
tRPC 10 Mutations Firing Twice in Deployed Releases OnlyWe have a newly-upgraded tRPC 10 / ReactQuery 4 app and on two pages on which we have a lot of mutatuseQuery with query paramsHi, I'm wondering how to correctly handle query params as a useQuery input using Nextjs. ``` const infiniteQuery always undefined cursorHey there ! I'm struggling a bit to understand who the `useInfiniteQuery` is supposed to work with Migrating v9 to v10 - - using the client?I'm migrating a large project from trpc v9 to v10. There is a section of the code that uses the resuUsing tRPC and something else too? For building a mobile app / public API.A bit noobish, but I'm starting a new project w/ the t3 stack and I'm looking to build a mobile app whats the difference between context and middlewareand which 1 should I use for express session cookiesAxios, ExpressMiddleware and TRPCErrorsWe have an express based TRPC server and our procedures are calling our endpoints using axios. So whbase pathHi, don’t seem to be able to find documentation but is there a way to set the base path of the serveAny Benefit using tRPC for only remote api calls?Hi, does it make sense to use trpc if all I will be doing is calling a remote api? I have set it up Can I connect to a regular node express with socket.io?My idea is that I will host the socketio nodejs server in some server, and then use it with my nextjhow does one actually make trpc/client work with the app routerive been using trpc on the pages router for a while now and ive started putting together a next13 stwhen i deploy frontend trpc fails to compileim trying to deploy my create-react-app with tRPC to Vercel it works perfectly fine on localhosthow to rate limit in trpc express/nodejs server (not nextjs)each prodecure will have different rate limit for IP or sometthing idk maybe whole database will havDisable fetch on load```tsx import React, { useState } from "react"; import { api } from "../utils/api"; const Test = ()