Skip to content
This repository was archived by the owner on Nov 27, 2023. It is now read-only.

Commit d0b7b0f

Browse files
authored
Fix query example
Use default `POST` method instead of `GET`
1 parent 059ec32 commit d0b7b0f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,7 @@ To query a subset of data, a condition can be specified. For example, to
284284
retrieve only those entries which have a total number of likes above 300:
285285

286286
```shell
287-
curl https://localhost:3000/db/docstore/query -X GET -H "Content-Type: application/json" --data '{"propname":"likes","comp":"gt","values":[300]}'
287+
curl https://localhost:3000/db/docstore/query -H "Content-Type: application/json" --data '{"propname":"likes","comp":"gt","values":[300]}'
288288
```
289289

290290
```json

0 commit comments

Comments
 (0)