[ Web Proxy ]
URL:
Viewing: https://developer.mozilla.org/ja/docs/Web/HTTP/Reference/Methods/DELETE [Back]  [Original]

DELETE - HTTP | MDN

MDN Web Docs

View in English Always switch to English

DELETE

DELETE HTTP

DELETE

: DELETE 4XX

HTML

http
DELETE <request-target>["?"<query>] HTTP/1.1
<request-target>

Host /path/to/file.html URLhttp://www.example.com/path/to/file.html

<query>

? key=value

file.html

http
DELETE /file.html HTTP/1.1
Host: example.com

204 No Content

http
HTTP/1.1 204 No Content
Date: Wed, 04 Sep 2024 10:16:04 GMT

200 OK

http
HTTP/1.1 200 OK
Content-Type: text/html; charset=UTF-8
Date: Fri, 21 Jun 2024 14:18:33 GMT
Content-Length: 1234

<html lang="ja">
  <body>
    <h1> "file.html" </h1>
  </body>
</html>

202 Accepted

http
HTTP/1.1 202 Accepted
Date: Wed, 26 Jun 2024 12:00:00 GMT
Content-Type: text/html; charset=UTF-8
Content-Length: 1234

<html lang="en-US">
  <body>
    <h1>"file.html" </h1>
    <p><a href="http://example.com/tasks/123/status"></a></p>
  </body>
</html>

HTTP Semantics
# name-delete

DELETE fetch()


Web Proxy Viewer  |  New URL  |  Original Page