"Fossies" - the Fresh Open Source Software Archive

Member "arangodb-3.4.7/Documentation/Examples/RestDocumentHandlerUpdateDocumentUnknownHandle.generated" (24 Jun 2019, 779 Bytes) of package /linux/misc/arangodb-3.4.7.tar.gz:


As a special service "Fossies" has tried to format the requested text file into HTML format (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file. See also the last Fossies "Diffs" side-by-side code changes report for "RestDocumentHandlerUpdateDocumentUnknownHandle.generated": 3.4.5_vs_3.4.6.

    1 <span class="hljs-meta">shell&gt;</span><span class="bash"> curl -X PUT --header <span class="hljs-string">'accept: application/json'</span> --data-binary @- --dump - http://localhost:8529/_api/document/products/104523</span> &lt;&lt;EOF
    2 {}
    3 EOF
    4 
    5 HTTP/<span class="hljs-number">1.1</span> Not Found
    6 content-type: application/json; charset=utf<span class="hljs-number">-8</span>
    7 x-content-type-options: nosniff
    8 
    9 { 
   10   <span class="hljs-string">"error"</span> : <span class="hljs-literal">true</span>, 
   11   <span class="hljs-string">"errorMessage"</span> : <span class="hljs-string">"document not found"</span>, 
   12   <span class="hljs-string">"code"</span> : <span class="hljs-number">404</span>, 
   13   <span class="hljs-string">"errorNum"</span> : <span class="hljs-number">1202</span> 
   14 }