mirror of https://gitee.com/bigwinds/arangodb
29 lines
1.0 KiB
Plaintext
29 lines
1.0 KiB
Plaintext
<span class="hljs-meta">shell></span><span class="bash"> curl --header <span class="hljs-string">'accept: application/json'</span> --dump - http://localhost:8529/hello/world</span>
|
|
|
|
HTTP/1.1 OK
|
|
content-type: text/plain
|
|
x-content-type-options: nosniff
|
|
|
|
"Match No 1"
|
|
<span class="hljs-meta">shell></span><span class="bash"> curl --header <span class="hljs-string">'accept: application/json'</span> --dump - http://localhost:8529/hello/emil</span>
|
|
|
|
HTTP/1.1 OK
|
|
content-type: text/plain
|
|
x-content-type-options: nosniff
|
|
|
|
"Match No 2"
|
|
<span class="hljs-meta">shell></span><span class="bash"> curl --header <span class="hljs-string">'accept: application/json'</span> --dump - http://localhost:8529/your/world</span>
|
|
|
|
HTTP/1.1 OK
|
|
content-type: text/plain
|
|
x-content-type-options: nosniff
|
|
|
|
"Match No 3"
|
|
<span class="hljs-meta">shell></span><span class="bash"> curl --header <span class="hljs-string">'accept: application/json'</span> --dump - http://localhost:8529/hi/you</span>
|
|
|
|
HTTP/1.1 OK
|
|
content-type: text/plain
|
|
x-content-type-options: nosniff
|
|
|
|
"Match No 4"
|