rhh4x0R
rhh4x0R10mo ago

How do pass a 'blob' from frontend to backend?

I'm having trouble doing this without converting an audio Blob to base64 and then decrypting it and creating a file on the server. Base64 is huge and breaks the app, but if I create it client side it's no problem. However I don't want to expose API keys that I need in order to do so (which it does currently). Any ideas on what I could do?
2 Replies
sachin
sachin10mo ago
GitHub
GitHub - trpc/examples-next-formdata
Contribute to trpc/examples-next-formdata development by creating an account on GitHub.
rhh4x0R
rhh4x0R10mo ago
I’ll take a look, thank you.