shell> curl -X PUT --data-binary @- --dump - http://localhost:8529/_api/simple/update-by-example <<EOF { "collection" : "products", "example" : { "a" : { "j" : 1 } }, "newValue" : { "a" : { "j" : 22 } }, "limit" : 3 } EOF HTTP/1.1 200 OK content-type: application/json; charset=utf-8 x-content-type-options: nosniff { "updated" : 1, "error" : false, "code" : 200 }