tRPC
tRPC is an end-to-end typed RPC layer, very widespread on the TypeScript side. Restorm exposes it as a request type in its own right, which saves you assembling the envelope the server expects by hand.
Right-click in the tree ▸ Add ▸ tRPC request.

Configuration
Section titled “Configuration”| Field | Role |
|---|---|
| URL | The tRPC router’s base URL; the procedure path is appended to it |
| Procedure | The procedure’s dotted path, for example user.get |
| Type | query or mutation |
| Input | The procedure’s input, in JSON — {{variables}} work in it |
| Headers | Additional HTTP headers |
What Restorm does for you
Section titled “What Restorm does for you”- a
querygoes out as aGETwith the input serialised into the?input=parameter; - a
mutationgoes out as aPOSTwith the body envelope tRPC v10 expects.
You therefore only write the procedure and its input.
Importing a tRPC schema
Section titled “Importing a tRPC schema”If your server exposes its schema (typically at <base>/.trpc/_schema), File ▸
Import creates one request per procedure, with its type and a sample input. See
Importing tRPC.
Code snippets
Section titled “Code snippets”Five targets: cURL, JavaScript (Fetch), TypeScript (@trpc/client), Python
(requests) and Go.