이 번역은 완료되지 않았습니다. 이 문서를 번역해 주세요.

HTTP DELETE 요청 메소드는 특정 리소스를 삭제합니다.

Request has body No
Successful response has body No
Safe No
Idempotent Yes
Cacheable No
Allowed in HTML forms No

문법

DELETE /file.html HTTP/1.1 

예제

요청

DELETE /file.html HTTP/1.1

응답

DELETE 메소드가 성공적으로 적용되면 다음과 같은 몇 가지 응답 상태 코드를 사용할 수 있습니다.

  • A 202 (Accepted) status code if the action will likely succeed but has not yet been enacted.
  • A 204 (No Content) status code if the action has been enacted and no further information is to be supplied.
  • A 200 (OK) status code if the action has been enacted and the response message includes a representation describing the status.
HTTP/1.1 200 OK 
Date: Wed, 21 Oct 2015 07:28:00 GMT

<html>
  <body>
    <h1>File deleted.</h1> 
  </body>
</html>

사양

사양 제목
RFC 7231, section 4.3.5: DELETE Hypertext Transfer Protocol (HTTP/1.1): Semantics and Content

브라우저 호환성

Update compatibility data on GitHub
DesktopMobile
ChromeEdgeFirefoxInternet ExplorerOperaSafariAndroid webviewChrome for AndroidEdge MobileFirefox for AndroidOpera for AndroidiOS SafariSamsung Internet
Basic supportChrome Full support YesEdge Full support YesFirefox Full support YesIE Full support YesOpera Full support YesSafari Full support YesWebView Android Full support YesChrome Android Full support YesEdge Mobile Full support YesFirefox Android Full support YesOpera Android Full support YesSafari iOS Full support YesSamsung Internet Android Full support Yes

Legend

Full support  
Full support

더 보기

문서 태그 및 공헌자

이 페이지의 공헌자: frankradio
최종 변경자: frankradio,