POST request body is an empty string during service invocation between Dapr sidecars

Liam Leung 0 Reputation points
2024-07-26T11:40:04.9533333+00:00

Hi,

I have deployed two services on Container Apps, both setup using Fastify, both with Dapr enabled.

I cannot seem to get the POST requests between the two services working. If Service A make a POST request with a request body to Service B, the request.body turns out to be an empty string in Service B.

However, if I invoke the POST route of Service B directly on Postman with a JSON request body. It works fine.

I cannot figure the reason why.

And advice is appreciated !

Azure Container Apps
Azure Container Apps
An Azure service that provides a general-purpose, serverless container platform.
444 questions
0 comments No comments
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.