shell> curl --dump - http://localhost:8529/_api/document/doesnotexist
HTTP/1.1 404 Not Found
content-type: application/json; charset=utf-8
x-content-type-options: nosniff
{
"error" : true,
"errorMessage" : "expecting GET /_api/document/<document-handle>",
"code" : 404,
"errorNum" : 1203
}