2022-02-04 19:34:41 +03:00
|
|
|
<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/1.0</span> <span class="number">200</span></span>
|
2022-07-22 20:40:00 +03:00
|
|
|
</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/1.0</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 section-header">[MultipartFormData]</span>
|
|
|
|
<span class="line"><span class="string"><span class="string">file1</span></span>: file,<span class="string"><span class="filename">/secret.txt</span></span>;</span>
|
|
|
|
</span><span class="response"><span class="line"></span>
|
|
|
|
<span class="line"><span class="version">HTTP/1.0</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 section-header">[MultipartFormData]</span>
|
|
|
|
<span class="line"><span class="string"><span class="string">file1</span></span>: file,<span class="string"><span class="filename">../secret.txt</span></span>;</span>
|
|
|
|
</span><span class="response"><span class="line"></span>
|
|
|
|
<span class="line"><span class="version">HTTP/1.0</span> <span class="number">200</span></span></span></span></code></pre>
|