tRPCttRPC
Powered by
Rasel HossainR
tRPC•2y ago•
9 replies
Rasel Hossain

How to get the Request Body data of QStash

Hello everyone. I'm currently working on a client project that involves using trpc with Next.js. We're using Qstash as our message queue service, and I'm trying to publish a message to updateSubscription procedure. However, Qstash only supports POST requests. So, I created a mutation procedure in the trpc server. My question is, how can I receive the body data in the trpc procedure? I tried using input, but it seems like Qstash can't send the request. Could anyone please guide me on how to tackle this issue?
image.png
image.png
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

How to access the request body in the onError callback?
Michael SchaufelbergerMMichael Schaufelberger / ❓-help
2y ago
How to properly check the contents of prefetched data?
fossfighterFfossfighter / ❓-help
3y ago