hurl/integration/tests/patch.html

1 line
1.1 KiB
HTML
Raw Normal View History

2021-07-02 20:27:36 +03:00
<div class="hurl-file"><div class="hurl-entry"><div class="request"><span class="line"><span class="comment"># Sample from https://developer.mozilla.org/en-US/docs/Web/HTTP/Methods/PATCH</span></span><span class="line"><span class="method">PATCH</span> <span class="url">http://localhost:8000/patch/file.txt</span></span></div><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><div class="response"><span class="line"></span><span class="line"></span><span class="line"><span class="version">HTTP/1.0</span> <span class="status">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></div></div><span class="line"></span><span class="line"></span></div>