mirror of
https://github.com/Orange-OpenSource/hurl.git
synced 2024-12-24 11:32:00 +03:00
26 lines
2.7 KiB
HTML
26 lines
2.7 KiB
HTML
<pre><code class="language-hurl"><span class="hurl-entry"><span class="request"><span class="line"><span class="method">GET</span> <span class="url">http://localhost:8000/very-verbose/redirect</span></span>
|
|
</span><span class="response"><span class="line"><span class="version">HTTP/*</span> <span class="number">200</span></span>
|
|
</span></span><span class="hurl-entry"><span class="request"><span class="line"></span>
|
|
<span class="line"><span class="method">GET</span> <span class="url">http://localhost:8000/very-verbose/encoding/latin1</span></span>
|
|
</span><span class="response"><span class="line"><span class="version">HTTP/*</span> <span class="number">200</span></span>
|
|
</span></span><span class="hurl-entry"><span class="request"><span class="line"></span>
|
|
<span class="line"><span class="method">POST</span> <span class="url">http://localhost:8000/very-verbose/compressed/brotli</span></span>
|
|
<span class="line"><span class="string">Accept-Encoding</span><span>:</span> <span class="string">brotli</span></span>
|
|
<span class="json"><span class="line">{</span>
|
|
<span class="line"> "foo": "bar",</span>
|
|
<span class="line"> "baz": true</span>
|
|
<span class="line">}</span></span>
|
|
</span><span class="response"><span class="line"><span class="version">HTTP/*</span> <span class="number">200</span></span>
|
|
</span></span><span class="hurl-entry"><span class="request"><span class="line"></span>
|
|
<span class="line"><span class="method">GET</span> <span class="url">http://localhost:8000/very-verbose/cat</span></span>
|
|
</span><span class="response"><span class="line"><span class="version">HTTP/*</span> <span class="number">200</span></span>
|
|
</span></span><span class="hurl-entry"><span class="request"><span class="line"></span>
|
|
<span class="line"><span class="method">POST</span> <span class="url">http://localhost:8000/very-verbose/update-cat</span></span>
|
|
<span class="line section-header">[MultipartFormData]</span>
|
|
<span class="line"><span class="string"><span class="string">cat</span></span>: file,<span class="string"><span class="filename">cat.jpg</span></span>; <span class="string">image/jpeg</span></span>
|
|
</span><span class="response"><span class="line"><span class="version">HTTP/*</span> <span class="number">200</span></span>
|
|
</span></span><span class="hurl-entry"><span class="request"><span class="line"></span>
|
|
<span class="line"><span class="method">GET</span> <span class="url">http://localhost:8000/very-verbose/done</span></span>
|
|
<span class="line"><span class="string">x-foo</span><span>:</span> <span class="string">bar</span></span>
|
|
</span><span class="response"><span class="line"><span class="version">HTTP/*</span> <span class="number">200</span></span>
|
|
</span></span></code></pre> |