2021-09-21 07:36:53 +03:00
< 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 >
2022-11-11 16:25:00 +03:00
< span class = "line" > < span class = "version" > HTTP< / span > < span class = "number" > 204< / span > < / span >
2021-09-21 07:36:53 +03:00
< 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 >
2022-10-24 12:37:11 +03:00
< / code > < / pre >