tRPCttRPC
Powered by
karatemanjohnsonK
tRPC•3y ago•
8 replies
karatemanjohnson

Increasing Body 1mb limit

Hey, Im trying to build an application that allows sending of base64 encoded files to my next.js server through TRPC. I read online that the only currently supported way to do that is by base64 encoding and then shipping it over through JSON. Is there a way to increase the default 1mb limit on post requests? For my purposes 2-4MB would be more than enough But i am expecting a few at > 1mb filesize.
tRPCJoin
Move Fast & Break Nothing. End-to-end typesafe APIs made easy.
5,015Members
Resources
Recent Announcements

Similar Threads

Was this page helpful?

Similar Threads

rate limiting with @fastify/rate-limit
theMostCuriousHomunculusTtheMostCuriousHomunculus / ❓-help
2y ago
How to set sizeLimit > 1MB (to solve 413 error)?
peternovakPpeternovak / ❓-help
3y ago