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.
번호 | 분류 | 제목 | 글쓴이 | 날짜 | 조회 수 |
---|---|---|---|---|---|
817 | Develop | [Android Error] The number of method references in a .dex file cannot exceed 64K | hooni | 2016.11.10 | 752 |
816 | Develop | [Android] 2010년에 만들었던 세미나 자료. | hooni | 2013.05.28 | 64661 |
815 | Develop | [android] AlertDialog 메시지 창 띄우기 | hooni | 2015.07.09 | 849 |
814 | Develop | [android] Android N requires the IDE to be running with Java 1.8 or later 오류 | hooni | 2016.08.30 | 682 |
813 | Develop | [android] ArrayAdapter 테스트 파일 ㅎㅎ | hooni | 2013.04.23 | 45239 |
812 | Develop | [android] ArrayAdapter를 이용하여 출력하기 | hooni | 2013.04.23 | 47337 |
811 | Develop | [android] Calling activity function from separate class | hooni | 2016.11.15 | 1155 |
810 | Develop | [android] Canvas를 이용해 이미지 확대/축소 하기 | hooni | 2013.04.23 | 60739 |
809 | Develop | [android] dp, px 서로 변환 | hooni | 2016.10.21 | 3371 |
808 | Develop | [android] GCM 사용하기 1 (GCM 서비스 신청하기) | hooni | 2013.07.06 | 51355 |
807 | Develop | [android] How can I place app icon on launcher home screen? | hooni | 2016.11.15 | 1261 |
806 | Develop | [android] keytool을 사용하여 키스토어 생성 | hooni | 2013.04.23 | 69511 |