--- title: DELETE slug: Web/HTTP/Methods/DELETE tags: - HTTP - Reference - Request method translation_of: Web/HTTP/Methods/DELETE ---
HTTP DELETE
메서드는 지정한 리소스를 삭제합니다.
요청에 본문 존재 | May |
---|---|
성공 응답에 본문 존재 | May |
{{Glossary("Safe", "안전함")}} | No |
{{Glossary("Idempotent", "멱등성")}} | Yes |
{{Glossary("Cacheable", "캐시 가능")}} | No |
HTML 양식에서 사용 가능 | No |
DELETE /file.html HTTP/1.1
DELETE /file.html HTTP/1.1
DELETE
메서드를 성공적으로 적용한 후에 사용할 수 있는 응답 상태 코드는 다음과 같이 몇 가지가 있습니다.
Accepted
) 상태 코드.No Content
) 상태 코드.OK
) 상태 코드.HTTP/1.1 200 OK Date: Wed, 21 Oct 2015 07:28:00 GMT <html> <body> <h1>File deleted.</h1> </body> </html>
명세 | 제목 |
---|---|
{{RFC("7231", "DELETE", "4.3.5")}} | Hypertext Transfer Protocol (HTTP/1.1): Semantics and Content |
{{Compat("http.methods.DELETE")}}