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

Liam Leung 5 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.
570 questions
0 comments No comments
{count} vote

1 answer

Sort by: Most helpful
  1. HBLab-HieuDT 20 Reputation points
    2025-03-12T01:30:57.9066667+00:00

    I'm also having the same issue but with Django app and also narrowed down to Container App Dapr issue because request from Postman or local Docker container Dapr work successfully. Can someone from Azure help take a look at the issue?

    0 comments No comments

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.