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

15 lines
406 B
Plaintext

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