1
0
Fork 0
arangodb/Documentation/Examples/RestCursorDeleteQueryFail.g...

17 lines
796 B
Plaintext

shell> curl -X POST --data-binary @- --dump - http://localhost:8529/_api/cursor <<EOF
{
<span class="hljs-string">"query"</span> : <span class="hljs-string">"REMOVE 'foo' IN products"</span>
}
EOF
HTTP/<span class="hljs-number">1.1</span> <span class="hljs-number">404</span> Not Found
content-type: application/json; charset=utf<span class="hljs-number">-8</span>
x-content-type-options: nosniff
{
<span class="hljs-string">"error"</span> : <span class="hljs-literal">true</span>,
<span class="hljs-string">"errorMessage"</span> : <span class="hljs-string">"document not found (while executing)"</span>,
<span class="hljs-string">"code"</span> : <span class="hljs-number">404</span>,
<span class="hljs-string">"errorNum"</span> : <span class="hljs-number">1202</span>
}