1
0
Fork 0
arangodb/Documentation/Examples/RestDocumentHandlerUpdateDo...

16 lines
416 B
Plaintext

shell> curl -X PUT --header 'If-Match: "2229753244"' --data-binary @- --dump - http://localhost:8529/_api/document/products/2229425564?policy=last <<EOF
{}
EOF
HTTP/1.1 202 Accepted
content-type: application/json; charset=utf-8
etag: "2230015388"
location: /_db/_system/_api/document/products/2229425564
{
"error" : false,
"_id" : "products/2229425564",
"_rev" : "2230015388",
"_key" : "2229425564"
}