Update state_api.md (#928)

Removing commas from end of JSON lists
This commit is contained in:
yellow chicks 2020-11-18 01:13:32 +08:00 committed by GitHub
parent fadc143f5f
commit 1a7c20d700
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -217,7 +217,7 @@ curl http://localhost:3500/v1.0/state/myRedisStore/bulk \
-H "Content-Type: application/json" \
-d '{
"keys": [ "key1", "key2" ],
"parallelism": 10,
"parallelism": 10
}'
```
@ -234,7 +234,7 @@ curl http://localhost:3500/v1.0/state/myRedisStore/bulk \
"key": "key2",
"data": "value2",
"etag": "1"
},
}
]
```
To pass metadata as query parammeter:
@ -448,7 +448,7 @@ curl -X POST http://localhost:3500/v1.0/state/starwars \
"etag": "xxxxx",
"options": {
"concurrency": "first-write",
"consistency": "strong",
"consistency": "strong"
}
}
]'