HTTP 메서드 참조

속성, 사용 사례, 일반 상태 코드가 포함된 모든 HTTP 메서드에 대한 종합 참조 가이드

모든 처리는 브라우저에서 이루어집니다. 데이터가 업로드되지 않습니다.
Offline Ready

HTTP 메서드 참조

속성, 사용 사례, 일반 상태 코드가 포함된 모든 HTTP 메서드에 대한 종합 참조 가이드

🔒모든 처리는 브라우저에서 이루어집니다. 데이터가 업로드되지 않습니다.
메서드 이름, 설명 또는 사용 사례로 검색...
빠른 비교
메서드안전멱등성캐시 가능요청 본문응답 본문
GET
선택 사항
HEAD
선택 사항No
POST
NoNoNo
PUT
NoNo선택 사항
PATCH
NoNoNo
DELETE
NoNo선택 사항선택 사항
OPTIONS
No선택 사항
TRACE
NoNo
CONNECT
NoNoNoNo
메서드 상세
GET
Retrieve a representation of the specified resource. GET requests should only retrieve data.
HEAD
Same as GET, but the server must not return a message body in the response.
POST
Submit data to the specified resource, often causing a change in state or side effects on the server.
PUT
Replace the entire target resource with the request payload.
PATCH
Apply partial modifications to a resource.
DELETE
Remove the specified resource from the server.
OPTIONS
Describe the communication options for the target resource.
TRACE
Perform a message loop-back test along the path to the target resource.
CONNECT
Establish a tunnel to the server identified by the target resource.
속성 정의
안전:안전한 메서드는 서버의 상태를 변경하지 않는 메서드입니다. 즉, 읽기 전용 작업을 수행합니다. 안전한 메서드는 위험 없이 캐시하거나 프리페치할 수 있습니다.
멱등성:멱등 메서드는 단일 요청의 서버에 대한 의도된 효과가 여러 동일한 요청의 효과와 동일한 메서드입니다. 모든 안전한 메서드는 멱등이며, PUT과 DELETE도 멱등입니다.
캐시 가능:캐시 가능한 응답은 후속 요청에 재사용하기 위해 캐시할 수 있는 HTTP 응답입니다. GET과 HEAD 응답은 일반적으로 캐시 가능합니다.