Arxk
Sending FormData does not work at all
https://github.com/trpc/trpc/blob/main/examples/minimal-content-types I have this exact same setup with tRPC but does not work. Server just says "Input not instance of FormData", looking at the network tab it just sends a json payload
17 replies
How would I go about passing an image to the server using tRPC?
I'm reviewing all my options here but I'm currently thinking of uploading the file and then the server uses the URL of the image to read.
I only need the image temporarily to read, so it just wouldn't make sense for me to upload it and just leave it in an s3 or r2 bucket..
12 replies