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

16 lines
384 B
Plaintext

shell> curl -X PUT --data-binary @- --dump - http://localhost:8529/_api/document/products/2226541980 <<EOF
{"Hello": "you"}
EOF
HTTP/1.1 202 Accepted
content-type: application/json; charset=utf-8
etag: "2226869660"
location: /_db/_system/_api/document/products/2226541980
{
"error" : false,
"_id" : "products/2226541980",
"_rev" : "2226869660",
"_key" : "2226541980"
}