The examples nodeapp and pythonapp doesn't use the Dapr SDKs and just do plain HTTP calls.
The DAPR host is hardcoded in both applications to be localhost which limit this examples to be used only when daprd is injected as a sidecar.
Supporting setting the host via the environment variable: DAPR_HTTP_ENDPOINT will align with how SDKs can set up remote hosts.
Describe the feature
The examples
nodeapp
andpythonapp
doesn't use the Dapr SDKs and just do plain HTTP calls. The DAPR host is hardcoded in both applications to belocalhost
which limit this examples to be used only whendaprd
is injected as a sidecar.Supporting setting the host via the environment variable:
DAPR_HTTP_ENDPOINT
will align with how SDKs can set up remote hosts.