diff --git a/hello-dapr-slim/README.md b/hello-dapr-slim/README.md index bf898ee..fbb6a20 100644 --- a/hello-dapr-slim/README.md +++ b/hello-dapr-slim/README.md @@ -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` -![Postman Screenshot](./img/postman1.jpg) +![Postman Screenshot](./img/postman1.png) 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. ``` diff --git a/hello-dapr-slim/img/postman1.jpg b/hello-dapr-slim/img/postman1.jpg deleted file mode 100644 index 32d614e..0000000 Binary files a/hello-dapr-slim/img/postman1.jpg and /dev/null differ diff --git a/hello-dapr-slim/img/postman1.png b/hello-dapr-slim/img/postman1.png new file mode 100644 index 0000000..aad07f0 Binary files /dev/null and b/hello-dapr-slim/img/postman1.png differ diff --git a/hello-dapr-slim/sample.http b/hello-dapr-slim/sample.http index e8c4883..6972215 100644 --- a/hello-dapr-slim/sample.http +++ b/hello-dapr-slim/sample.http @@ -1,3 +1,3 @@ POST http://localhost:3500/v1.0/invoke/nodeapp/method/neworder -{ "data": {"orderId":"42"} } \ No newline at end of file +{ "data": {"orderId":"41"} } \ No newline at end of file diff --git a/hello-dapr-slim/sample.json b/hello-dapr-slim/sample.json index e298ae6..c66d297 100644 --- a/hello-dapr-slim/sample.json +++ b/hello-dapr-slim/sample.json @@ -1 +1,5 @@ -{ "data": {"orderId":"42"} } \ No newline at end of file +{ + "data": { + "orderId": "41" + } +} \ No newline at end of file