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.
번호 | 분류 | 제목 | 글쓴이 | 날짜 | 조회 수 |
---|---|---|---|---|---|
121 | Develop | [js] 모바일 스크롤 방지(해제) | hooni | 2015.04.14 | 1697 |
120 | Develop | [ios] Swift 4 Singleton inheritance | hooni | 2018.10.31 | 1692 |
119 | Develop | [ios] 스크린 캡쳐 (전원버튼 + 홈버튼) 호출 알아내기 | hooni | 2014.11.19 | 1658 |
118 | Develop | [ios] binary를 C코드로 변환 | hooni | 2015.01.03 | 1649 |
117 | Develop | [android] 레이아웃 사이즈 변경 (동적; programmatically) | hooni | 2016.11.07 | 1621 |
116 | Develop | [swift] popToRoot 모달뷰, 네비게이션컨트롤러 한꺼번에 닫기 | hooni | 2021.01.29 | 1603 |
115 | Develop | How to Test SMTP AUTH using Telnet | hooni | 2018.04.05 | 1591 |
» | Develop | What is difference between Get, Post, Put and Delete? | hooni | 2018.02.28 | 1573 |
113 | Develop | [ios] Swift 4 String, Date, DateFormatter 예제 | hooni | 2018.10.18 | 1515 |
112 | Develop | [ios] How to set up clang formatter | hooni | 2015.09.17 | 1474 |
111 | Develop | [android] 간단한 SQLIite 예제 | hooni | 2017.06.14 | 1473 |
110 | Develop | macOS에 node, npm 설치하기 (homebrew) | hooni | 2021.11.06 | 1473 |