operation input is formdata but trpc makes it an application/json POST call
operation:
request headers:
sample router
request headers:
sample router
{
"type": "mutation",
"path": "vectleProfiles.updateProfileLogo",
"input": {},
"context": {},
"id": 4
}accept:
*/*
accept-encoding:
gzip, deflate, br, zstd
accept-language:
en-US,en;q=0.9
connection:
keep-alive
content-length:
11
content-type:
application/jsonpublicProcedure
.input(z.instanceof(FormData))
.mutation(async ({ input, ctx }) => {
...
}),