What is difference between Get, Post, Put and Delete?
An HTTP request is a class consisting of HTTP style requests, request lines, request methods, request URL, header fields, and body content.The most common methods that are used by a client in an HTTP request are as follows:
1) GET
Used when the client is requesting a resource on the Web server.
2) POST
Used when the client is sending information or data to the server—for example, filling out an online form (i.e.Sends a large amount of complex data to the Web Server).
3) PUT
Used when the client is sending a replacement document or uploading a new document to the Web server under the request URL.
4) DELETE
Used when the client is trying to delete a document from the Web server, identified by the request URL.
5) HEAD
Used when the client is requesting some information about a resource but not requesting the resource itself.
6) TRACE
Used when the client is asking the available proxies or intermediate servers changing the request to announce themselves.
7) OPTIONS
Used when the client wants to determine other available methods to retrieve or process a document on the Web server.
8) CONNECT
Used when the client wants to establish a transparent connection to a remote host, usually to facilitate SSL-encrypted communication (HTTPS) through an HTTP proxy.
번호 | 분류 | 제목 | 글쓴이 | 날짜 | 조회 수 |
---|---|---|---|---|---|
1161 | Develop | GCM 사용하기 3 (JSP로 GCM 푸시 서버 만들기) 4 | hooni | 2013.07.06 | 25315 |
1160 | Develop | git 브런치 배우기 (링크) | hooni | 2013.07.09 | 20571 |
1159 | Develop | GPL, AGPL, MPL,.. 한눈에 보는 오픈소스SW 라이선스 | hooni | 2014.10.14 | 1146 |
1158 | Etc | GSM에서 음성이 실리는 과정 요약.. | hooni | 2013.04.23 | 17518 |
1157 | Etc | How to completely Uninstall Coda | hooni | 2017.10.24 | 2110 |
1156 | System/OS | How to Install and Use wget on Mac | hooni | 2020.09.03 | 1273 |
1155 | System/OS | How to Setup an Email Server on CentOS 7 | hooni | 2018.04.05 | 2775 |
1154 | Develop | How to Test SMTP AUTH using Telnet | hooni | 2018.04.05 | 1328 |
1153 | System/OS | HTTP 프로토콜 (브라우저와 웹서버 간의 통신) | hooni | 2003.04.23 | 48250 |
1152 | System/OS | HTTPS와 SSL 인증서 | hooni | 2014.03.11 | 7542 |
1151 | Etc | iOS 에서 쓸만한 오프라인 구글지도 찾기 | hooni | 2014.01.06 | 16031 |
1150 | Etc | IoT가 만드는 미래와 플랫폼 경쟁력 | hooni | 2014.09.23 | 0 |