mirror of https://github.com/dapr/samples.git
Fix README.md Step 4 orderId 42 is inconsistent with Step 5 orderId 41 (#114)
Signed-off-by: whirlwinder <69021934+my-Sakura@users.noreply.github.com> Signed-off-by: whirlwinder <69021934+my-Sakura@users.noreply.github.com> Co-authored-by: whirlwinder <69021934+my-Sakura@users.noreply.github.com>
This commit is contained in:
parent
b4f99cbc38
commit
adecca8e8f
|
@ -107,7 +107,7 @@ POST http://localhost:3500/v1.0/invoke/nodeapp/method/neworder
|
|||
|
||||
{
|
||||
"data": {
|
||||
"orderId": "42"
|
||||
"orderId": "41"
|
||||
}
|
||||
}
|
||||
```
|
||||
|
@ -115,10 +115,10 @@ POST http://localhost:3500/v1.0/invoke/nodeapp/method/neworder
|
|||
You can also use the Postman GUI.
|
||||
|
||||
Open Postman and create a POST request against `http://localhost:3500/v1.0/invoke/nodeapp/method/neworder`
|
||||

|
||||

|
||||
In your terminal window, you should see logs indicating that the message was received and state was updated:
|
||||
```
|
||||
== APP == Got a new order! Order ID: 42
|
||||
== APP == Got a new order! Order ID: 41
|
||||
== APP == Successfully persisted state.
|
||||
```
|
||||
|
||||
|
|
Binary file not shown.
Before Width: | Height: | Size: 69 KiB |
Binary file not shown.
After Width: | Height: | Size: 215 KiB |
|
@ -1,3 +1,3 @@
|
|||
POST http://localhost:3500/v1.0/invoke/nodeapp/method/neworder
|
||||
|
||||
{ "data": {"orderId":"42"} }
|
||||
{ "data": {"orderId":"41"} }
|
|
@ -1 +1,5 @@
|
|||
{ "data": {"orderId":"42"} }
|
||||
{
|
||||
"data": {
|
||||
"orderId": "41"
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue