hurl/integration/tests_ok/patch.html
2022-11-11 14:25:00 +01:00

14 lines
1.2 KiB
HTML

<pre><code class="language-hurl"><span class="hurl-entry"><span class="request"><span class="line"></span><span class="comment"># Sample from https://developer.mozilla.org/en-US/docs/Web/HTTP/Methods/PATCH</span>
<span class="line"><span class="method">PATCH</span> <span class="url">http://localhost:8000/patch/file.txt</span></span>
<span class="line"><span class="string">Host</span><span>:</span> <span class="string">www.example.com</span></span>
<span class="line"><span class="string">Content-Type</span><span>:</span> <span class="string">application/example</span></span>
<span class="line"><span class="string">If-Match</span><span>:</span> <span class="string">"e0023aa4e"</span></span>
</span><span class="response"><span class="line"></span>
<span class="line"></span>
<span class="line"><span class="version">HTTP</span> <span class="number">204</span></span>
<span class="line"><span class="string">Content-Location</span><span>:</span> <span class="string">/file.txt</span></span>
<span class="line"><span class="string">ETag</span><span>:</span> <span class="string">"e0023aa4f"</span></span>
</span></span><span class="line"></span>
<span class="line"></span>
</code></pre>