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.
번호 | 분류 | 제목 | 글쓴이 | 날짜 | 조회 수 |
---|---|---|---|---|---|
829 | Develop | [iphone] performSelector:withObject:afterDelay: 에 대한 내용 | hooni | 2013.04.23 | 65903 |
828 | Develop | [Android] 2010년에 만들었던 세미나 자료. | hooni | 2013.05.28 | 64743 |
827 | Develop | [c#] 간단한 IPC 통신 예제 | hooni | 2013.04.23 | 63776 |
826 | Develop | [vb] 비주얼 베이직 자격증용 ㅎㅎ | hooni | 2003.04.23 | 61583 |
825 | Develop | [sh] 쉘스크립트 if 비교 연산 | hooni | 2020.05.26 | 60985 |
824 | Develop | [android] Canvas를 이용해 이미지 확대/축소 하기 | hooni | 2013.04.23 | 60795 |
823 | Develop | [vb] 비주얼 베이직 141페이지 | hooni | 2003.04.23 | 59021 |
822 | Develop | [c#] Json 라이브러리 (System.Net.Json.dll) | hooni | 2013.04.23 | 58584 |
821 | Develop | [vb] 비주얼 베이직 순위 정렬 루틴 | hooni | 2003.04.23 | 58436 |
820 | Develop | [vb] 비주얼 베이직 131페이지 | hooni | 2003.04.23 | 58161 |
819 | Develop | [android] SurfaceView를 이용한 애니메이션 ㅎㅎ | hooni | 2013.04.23 | 57775 |
818 | Develop | 레고 NXT 마인드스톰 밸런싱 로봇 ㅎㅎ | hooni | 2013.04.23 | 57767 |