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

10 lines
433 B
Plaintext

<span class="hljs-meta">shell&gt;</span><span class="bash"> curl --header <span class="hljs-string">'accept: application/json'</span> --dump - http://localhost:8529/hello/json</span>
HTTP/<span class="hljs-number">1.1</span> OK
content-type: application/json; charset=utf<span class="hljs-number">-8</span>
x-content-type-options: nosniff
{
<span class="hljs-string">"hello"</span> : <span class="hljs-string">"world"</span>
}