ArxkA
tRPCโ€ข10mo agoโ€ข
22 replies
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
GitHub
๐Ÿง™โ€โ™€๏ธ Move Fast and Break Nothing. End-to-end typesafe APIs made easy. - trpc/trpc
trpc/examples/minimal-content-types at main ยท trpc/trpc
Solution
Got it working. Had to use
splitLink
with a condition for isNonJsonSerializable
Was this page helpful?