From 9d463e01b702547e9fb83dbdaee431b7aa7c9de3 Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Sat, 24 Nov 2018 20:50:05 +0200 Subject: Fix: JSON syntax in examples --- README | 5 +++-- 1 file 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: -- cgit v1.2.1