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.
No. | Category | Subject | Author | Date | Views |
---|---|---|---|---|---|
1149 | Etc | IPR 특허 관련 | hooni | 2015.04.28 | 0 |
1148 | System/OS | iptime 공유기 해킹 기술문서 4 | hooni | 2015.01.01 | 1941 |
1147 | Etc | ISMS 인증기준 – 정보보호대책 (시스템개발보안) | hooni | 2016.12.01 | 1305 |
1146 | Etc | IT감사 기법 시험 | hooni | 2017.06.14 | 1416 |
1145 | Develop | JSON, BSON 변환 | hooni | 2013.04.23 | 11814 |
1144 | Develop | Laravel 5 Failed opening required bootstrap/../vendor/autoload.php | hooni | 2018.01.24 | 1652 |
1143 | System/OS | Mac OS X - Apache+PHP+MySQL 환경 서버 | hooni | 2013.04.25 | 31627 |
1142 | Develop | Mac OS 에 Jenkins 설치하기 (Homebrew) 2 | hooni | 2017.03.15 | 8092 |
1141 | Develop | macOS에 node, npm 설치하기 (homebrew) | hooni | 2021.11.06 | 1139 |
1140 | System/OS | Mac에서 Node.js 설치하기 | hooni | 2018.09.28 | 4187 |
1139 | System/OS | NAT와 DHCP에 대한 간단한 설명 | hooni | 2013.04.23 | 18328 |
1138 | Algorithm | OCB5 Injection 앗싸뵹! ㅋㅋ | hooni | 2014.07.01 | 796 |