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 |
---|---|---|---|---|---|
1173 | Develop | '2014 모바일 개발 트렌드' 발표자료입니다. | hooni | 2014.10.02 | 1140 |
1172 | System/OS | Apache CORS 설정 1 | hooni | 2020.09.04 | 2917 |
1171 | Develop | Aspect Oriented Programming in Objective-C | hooni | 2015.05.18 | 951 |
1170 | System/OS | asx미디어 정보 기록.. | hooni | 2003.04.23 | 20606 |
1169 | System/OS | CentOS 6.5 USB 설치 6 | hooni | 2013.12.18 | 37810 |
1168 | System/OS | CentOS 에서 Cacti 설치하기 | hooni | 2015.01.02 | 1942 |
1167 | System/OS | Configure Postfix to Use Gmail SMTP on Ubuntu 18.04 | hooni | 2020.02.07 | 1509 |
1166 | Develop | DDay Memo 1.9.4 소스코드 | hooni | 2015.10.03 | 0 |
1165 | Etc | EBS [수학영역] 미적분과 통계 기본 - 정규분포의 의미와 특징은? | hooni | 2015.04.20 | 1105 |
1164 | System/OS | Enable Safari Hidden Debug Menu in Mac OS X | hooni | 2017.02.07 | 1735 |
1163 | System/OS | Enable the Develop Menu in Safari | hooni | 2017.02.07 | 1340 |
1162 | Develop | GCM 사용하기 2 (단말에 GCM 구현하기) | hooni | 2013.07.06 | 23412 |