t
tRPC
S
tRPC
•
9mo ago
•
1 reply
squishycantaloupe
Limit payload size on specific routes?
When using TRPC
, is there a way to limit payload size on specific routes
? E
.g
, for a route that accepts base64 encoded images
, I would like to limit the maximum body size to 10mb
.
For all other routes
, I
'd like to limit the maximum body size to 1mb
.
tRPC
Join
Move Fast & Break Nothing. End-to-end typesafe APIs made easy.
5,015
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Recent Announcements
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
How to limit payload size?
A
aryzing / ❓-help
3y ago
Inference on routes & procedures
E
epicmau5time / ❓-help
3y ago
Modify the payload before mutating
R
Ryan / ❓-help
3y ago
Create user on the function mutate, with TRPC and Payload
J
jasonnpw / ❓-help
2y ago