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.
번호 | 분류 | 제목 | 글쓴이 | 날짜 | 조회 수 |
---|---|---|---|---|---|
733 | Develop | [ios] 최상위 ViewController 가져오기 | hooni | 2015.10.12 | 1062 |
732 | Develop | DDay Memo 1.9.4 소스코드 | hooni | 2015.10.03 | 0 |
731 | Develop | [ios] How to set up clang formatter | hooni | 2015.09.17 | 1360 |
730 | Develop | [ios] SBCampanion App 초안 | hooni | 2015.09.16 | 656 |
729 | Develop | [git] 쉬운 버전관리 Git 설명 | hooni | 2015.08.18 | 874 |
728 | Develop | [ios] 오브젝티브C→스위프트, 코드 변환 손쉽게 | hooni | 2015.08.07 | 959 |
727 | Develop | [ios] Objective-C Types & Storage Capacity | hooni | 2015.07.22 | 1155 |
726 | Develop | [ios] AES256 알고리즘을 이용해 데이터 암호화/복호화 방법 | hooni | 2015.07.21 | 4103 |
725 | Develop | [ios] NSData to NSString (NSString to NSData) | hooni | 2015.07.21 | 636 |
724 | Develop | [ios] WWDC 2015 샘플 소스 코드 통합파일 | hooni | 2015.07.20 | 661 |
723 | Develop | [android] N-Puzzle 게임 | hooni | 2015.07.09 | 867 |
722 | Develop | [android] 코드에서 문자열로 Resource 가져오기 | hooni | 2015.07.09 | 3940 |