From 1a7c20d700ab5ffcd26bd9730f567e3cb13b7bd3 Mon Sep 17 00:00:00 2001 From: yellow chicks Date: Wed, 18 Nov 2020 01:13:32 +0800 Subject: [PATCH] Update state_api.md (#928) Removing commas from end of JSON lists --- daprdocs/content/en/reference/api/state_api.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/daprdocs/content/en/reference/api/state_api.md b/daprdocs/content/en/reference/api/state_api.md index 20c96a6c9..2ad2c0c9c 100644 --- a/daprdocs/content/en/reference/api/state_api.md +++ b/daprdocs/content/en/reference/api/state_api.md @@ -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" } } ]'