You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In my setup, a Node.js app(Service1) is deployed in an Azure container app with Dapr enabled. Another Node.js app(Service2) consumes it using Dapr Service Invoke methods.
There is a api in service1 it sends the PDF/Word content, Service2 consumes the api and sends the response to client(browser).
When service2 receives the response for a pdf document the data content is in 'Raw PDF format'('%PDF-1.4\n' +
'1 0 obj\n' +
'<<\n')
In http call(Without Dapr SDK) by setting the responsetype to 'stream' or 'arraybuffer' retrieves the content in expected format.
However, I can see no such option via Dapr Service Invoke call.
Is there a way to handle these kind of scenarios, Please suggest.
Below is my Dapr call:
Dapr service invoke: const response = await daprClient.invoker.invoke('https://sampleurl.com/reports/${req.params.reportId}/status`, HttpMethod.GET);
The text was updated successfully, but these errors were encountered:
This issue has been automatically marked as stale because it has not had activity in the last 60 days. It will be closed in the next 7 days unless it is tagged (pinned, good first issue, help wanted or triaged/resolved) or other activity occurs. Thank you for your contributions.
This issue has been automatically closed because it has not had activity in the last 67 days. If this issue is still valid, please ping a maintainer and ask them to label it as pinned, good first issue, help wanted or triaged/resolved. Thank you for your contributions.
In my setup, a Node.js app(Service1) is deployed in an Azure container app with Dapr enabled. Another Node.js app(Service2) consumes it using Dapr Service Invoke methods.
There is a api in service1 it sends the PDF/Word content, Service2 consumes the api and sends the response to client(browser).
When service2 receives the response for a pdf document the data content is in 'Raw PDF format'('%PDF-1.4\n' +
'1 0 obj\n' +
'<<\n')
In http call(Without Dapr SDK) by setting the responsetype to 'stream' or 'arraybuffer' retrieves the content in expected format.
However, I can see no such option via Dapr Service Invoke call.
Is there a way to handle these kind of scenarios, Please suggest.
Below is my Dapr call:
Dapr service invoke: const response = await daprClient.invoker.invoke('https://sampleurl.com/reports/${req.params.reportId}/status`, HttpMethod.GET);
The text was updated successfully, but these errors were encountered: