Execute your durable execution
Execute your workflow and retrieve the result.
- grpcurl
- curl
Execute
grpcurl \
-plaintext \
-H 'Authorization: Basic <base64(<NAMESPACE>:<API-KEY>)>' \
-d '{"message":"durable"}' \
0.0.0.0:4242 \
echo.EchoService/Echo
{"processId":"5f5fd96a-1a67-4455-a4e3-4669cce61599"}
Await Result
grpcurl \
-plaintext \
-H 'Authorization: Basic <base64(<NAMESPACE:<API_KEY>)>' \
-d '{"processId":"5f5fd96a-1a67-4455-a4e3-4669cce61599"}' \
0.0.0.0:4242 \
echo.EchoService/EchoAwait
{"message":"durable"}
Execute
curl \
--header 'Content-Type: application/json' \
-u <NAMESPACE>:<API-KEY> --basic \
--data '{"message":"durable"}' \
http://0.0.0.0:4242/echo.EchoService/Echo
{"processId":"5f5fd96a-1a67-4455-a4e3-4669cce61599"}
Await Result
curl \
--header 'Content-Type: application/json' \
-u <NAMESPACE>:<API_KEY> --basic \
--data '{"process_id":"5f5fd96a-1a67-4455-a4e3-4669cce61599"}' \
http://0.0.0.0:4242/echo.EchoService/EchoAwait
{"message":"durable"}