tRPCttRPC
Powered by
SystemicS
tRPC•14mo ago
Systemic

Disable explicit content-type checks

Hey, using TRPC v11 in a production ready system. We've got an external service that sends a notification to an exposed REST endpoint on our server, using trpc-to-openapi. However, the content-type is application/x-www-form-urlencoded and v11 does check for that. Is there any way to disable this check or allow specific content-types?
tRPCJoin
Move Fast & Break Nothing. End-to-end typesafe APIs made easy.
5,015Members
Resources
Recent Announcements

Similar Threads

Was this page helpful?

Similar Threads

TRPCError: Missing content-type header
BenfaBBenfa / ❓-help
8mo ago
v11 `Invalid Content-Type header`
jlarmstJjlarmst / ❓-help
2y ago
tRPC doesn't explicitly check Content-Type
BeBoREBBeBoRE / ❓-help
2y ago
Should i use lint rule explicit-function-return-type when use trpc?
I am a DevII am a Dev / ❓-help
3y ago