File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
examples/Workflow/WorkflowConsoleApp Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change 1
1
### Start order processing workflow - replace xxx with any id you like
2
- POST http://localhost:3500/v1.0-alpha1/workflows/dapr/OrderProcessingWorkflow/xxx/ start
2
+ POST http://localhost:3500/v1.0-alpha1/workflows/dapr/OrderProcessingWorkflow/start?instanceID=xxx
3
3
Content-Type: application/json
4
4
5
- { "input" : { " Name" : " Paperclips" , "TotalCost" : 99.95 , "Quantity" : 1 } }
5
+ {" Name" : " Paperclips" , "TotalCost" : 99.95 , "Quantity" : 1 }
6
6
7
7
### Start order processing workflow - replace xxx with any id you like
8
- POST http://localhost:3500/v1.0-alpha1/workflows/dapr/OrderProcessingWorkflow/xxx/ start
8
+ POST http://localhost:3500/v1.0-alpha1/workflows/dapr/OrderProcessingWorkflow/start?instanceID=xxx
9
9
Content-Type: application/json
10
10
11
- { "input" : { " Name" : " Cars" , "TotalCost" : 10000 , "Quantity" : 30 } }
11
+ {" Name" : " Cars" , "TotalCost" : 10000 , "Quantity" : 30 }
12
12
13
13
### Query dapr sidecar - replace xxx with id from the workflow you've created above
14
- GET http://localhost:3500/v1.0-alpha1/workflows/dapr/OrderProcessingWorkflow/ xxx
14
+ GET http://localhost:3500/v1.0-alpha1/workflows/dapr/xxx
15
15
16
16
### Terminate the workflow - replace xxx with id from the workflow you've created above
17
17
POST http://localhost:3500/v1.0-alpha1/workflows/dapr/xxx/terminate
You can’t perform that action at this time.
0 commit comments