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 |
---|---|---|---|---|---|
69 | Develop | [android] 초간단 얼럿 (AlertDialog) | hooni | 2016.10.21 | 941 |
68 | Develop | [ios] 문자열로 함수 실행하기 (eval 함수처럼) | hooni | 2015.02.10 | 932 |
67 | Database | [mysql] MySQL 백업 및 복구 | hooni | 2019.11.22 | 930 |
66 | Develop | [ios] URL 랜딩 속도(OpenURL 10초 정지되는) 이슈 | hooni | 2015.02.09 | 926 |
65 | Develop | [linux] CentOS Apache 웹서버에 HTTPS 적용 | hooni | 2015.10.23 | 925 |
64 | Develop | [ios] Thread Loop 내에서 UI 업데이트 방법 | hooni | 2015.01.03 | 925 |
63 | Develop | [js] e.stopPropagation() VS e.preventDefault () | hooni | 2015.04.14 | 918 |
62 | Develop | [ios] GMT Date와 Local Date 변환하기 | hooni | 2015.04.07 | 918 |
61 | Develop | [ios] 비동기 블럭 코드 예제 | hooni | 2014.11.21 | 904 |
60 | Develop | [c] 파일명 또는 특정 패턴을 적용 | hooni | 2016.08.03 | 898 |
59 | Develop | [Android Error] The number of method references in a .dex file cannot exceed 64K | hooni | 2016.11.10 | 897 |
58 | Develop | 캘리포니아 운전면허 족보 | hooni | 2017.06.12 | 896 |