summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2018-11-24 20:50:05 +0200
committerLars Wirzenius <liw@liw.fi>2018-11-24 20:50:05 +0200
commit9d463e01b702547e9fb83dbdaee431b7aa7c9de3 (patch)
tree7bb60ff91bd947c2ec392b9d7feb723643991ee3
parent8ebc35efea0557283280004b308da24e7054d246 (diff)
downloadmuck-poc-9d463e01b702547e9fb83dbdaee431b7aa7c9de3.tar.gz
Fix: JSON syntax in examples
-rw-r--r--README5
1 files changed, 3 insertions, 2 deletions
diff --git a/README b/README
index a510d8f..07d0059 100644
--- a/README
+++ b/README
@@ -145,6 +145,7 @@ with a JSON body like this:
"field": "id",
"pattern": "ID123",
"op": "=="
+ }
]
}
@@ -240,8 +241,8 @@ To search:
Content-Type: application/json
{"cond": [
- {"where":"data", "field":"name", "pattern":"James", "op":">="]
- }
+ {"where":"data", "field":"name", "pattern":"James", "op":">="}
+ ]}
The response: