mirror of
https://github.com/Orange-OpenSource/hurl.git
synced 2024-12-18 05:52:42 +03:00
23 lines
1.9 KiB
HTML
23 lines
1.9 KiB
HTML
<pre><code class="language-hurl"><span class="hurl-entry"><span class="request"><span class="line"><span class="method">POST</span> <span class="url">http://localhost:8000/post-file</span></span>
|
|
<span class="line">file,<span class="filename">/secret.txt</span>;</span>
|
|
</span><span class="response"><span class="line"></span>
|
|
<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/post-file</span></span>
|
|
<span class="line">file,<span class="filename">../secret.txt</span>;</span>
|
|
</span><span class="response"><span class="line"></span>
|
|
<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/post-file</span></span>
|
|
<span class="line"><span class="section-header">[MultipartFormData]</span></span>
|
|
<span class="line"><span class="string">file1</span>: file,<span class="filename">/secret.txt</span>;</span>
|
|
</span><span class="response"><span class="line"></span>
|
|
<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/post-file</span></span>
|
|
<span class="line"><span class="section-header">[MultipartFormData]</span></span>
|
|
<span class="line"><span class="string">file1</span>: file,<span class="filename">../secret.txt</span>;</span>
|
|
</span><span class="response"><span class="line"></span>
|
|
<span class="line"><span class="version">HTTP</span> <span class="number">200</span></span>
|
|
</span></span></code></pre>
|