is they a size limit or any issue with send base64 images from front-end to trpc backend endpoint?

So basically i am trying to do a little user verification and platform i am plugged in uses data:image/jpeg;base64 format as acceptable image format so just wondering if trpc can handle it and if they is a size restriction attached?
5 Replies
Neto
Neto15mo ago
Maybe not trpc, but url size limit can be a thing to worry about Iirc using fastify you have to enable a bigger max url params size
Unknown User
Unknown User15mo ago
Message Not Public
Sign In & Join Server To View
Neto
Neto15mo ago
you can set a max url length when batching
Neto
Neto15mo ago
HTTP Batch Link | tRPC
httpBatchLink is a terminating link that batches an array of individual tRPC operations into a single HTTP request that's sent to a single tRPC procedure.
Lopen
Lopen15mo ago
I am not uploading images somewhere I am to provide the image base64 url in the url params of the service And from my experience, base64 images url is usually very heavy