Skip to content

Commit a4f1313

Browse files
committed
Updated README.md
1 parent e265308 commit a4f1313

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

examples/Actor/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,13 +55,13 @@ Following curl call will save data for actor id "abc"
5555
On Linux, MacOS:
5656

5757
``` bash
58-
curl -X POST http://127.0.0.1:3500/v1.0/actors/DemoActor/abc/method/SaveData -d '{ "data": {"PropertyA": "ValueA", "PropertyB": "ValueB" }, "ttl": "00:10:00" }'
58+
curl -X POST http://127.0.0.1:3500/v1.0/actors/DemoActor/abc/method/SaveData -d '{ "mydata": {"PropertyA": "ValueA", "PropertyB": "ValueB" }, "ttl": "00:10:00" }'
5959
```
6060

6161
On Windows:
6262

6363
``` powershell
64-
Invoke-WebRequest -Method POST -Uri http://127.0.0.1:3500/v1.0/actors/DemoActor/abc/method/SaveData -ContentType "application/json" -Body '{ "data": {"PropertyA": "ValueA", "PropertyB": "ValueB" }, "ttl": "00:10:00" }'
64+
Invoke-WebRequest -Method POST -Uri http://127.0.0.1:3500/v1.0/actors/DemoActor/abc/method/SaveData -ContentType "application/json" -Body '{ "mydata": {"PropertyA": "ValueA", "PropertyB": "ValueB" }, "ttl": "00:10:00" }'
6565
```
6666

6767
**Get Data**

0 commit comments

Comments
 (0)