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.
번호 | 분류 | 제목 | 글쓴이 | 날짜 | 조회 수 |
---|---|---|---|---|---|
1137 | Develop | [ios] VIN Scanner (VIN barcode) 스캐너 | hooni | 2017.09.16 | 652 |
1136 | Develop | [ios] NSNotificationCenter 초간단 사용 예~ ㅋㄷ | hooni | 2015.06.26 | 659 |
1135 | Develop | [ios] SBCampanion App 초안 | hooni | 2015.09.16 | 664 |
1134 | Database | [mysql] MySql DB/테이블 사이즈 확인을 위한 쿼리 | hooni | 2019.11.22 | 666 |
1133 | Develop | [ios] WWDC 2015 샘플 소스 코드 통합파일 | hooni | 2015.07.20 | 669 |
1132 | Database | [mysql] MySQL 데이터베이스 추가 및 사용자 추가 | hooni | 2019.11.22 | 673 |
1131 | Develop | [ios] Touch ID 적용 샘플 코드 (예제) | hooni | 2015.02.23 | 674 |
1130 | Develop | Aspect Oriented Programming in Objective-C | hooni | 2015.05.18 | 678 |
1129 | Develop | [ios] 여러 버전의 Xcode 사용하기 | hooni | 2022.05.28 | 679 |
1128 | Develop | 정리할 자료. | hooni | 2015.07.02 | 681 |
1127 | Develop | [swift] 실행시간 측정하기 | hooni | 2021.09.14 | 684 |
1126 | Develop | [js] Text 값을 클립보드에 복사하기 | hooni | 2020.10.10 | 686 |