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.
번호 | 분류 | 제목 | 글쓴이 | 날짜 | 조회 수 |
---|---|---|---|---|---|
57 | Develop | 캘리포니아 운전면허 족보 | hooni | 2017.06.12 | 742 |
56 | PPT | [ppt] iOS 플라랩#01(2015.02.26) 발표 자료 | hooni | 2015.02.25 | 738 |
55 | Develop | [ios] Crashlytics, Fabfic 설치/설정 | hooni | 2016.07.21 | 732 |
54 | Etc | WM미통기 - 10. 조건부확률 | hooni | 2015.04.20 | 710 |
53 | Develop | [Javascript][Ajax] 자바스크립트 강의 산출물 | hooni | 2019.10.05 | 707 |
52 | Develop | [android] Android N requires the IDE to be running with Java 1.8 or later 오류 | hooni | 2016.08.30 | 695 |
51 | Develop | [ios] 비디오,네트워크,소셜로그인 테스트 | hooni | 2017.04.04 | 694 |
50 | System/OS | [apache2] Redirect HTTP to HTTPS | hooni | 2022.02.03 | 691 |
49 | Develop | [matlab] 정보은닉 스테가노그래피(Steganography) 수업 | hooni | 2016.10.03 | 686 |
48 | Develop | [js] Text 값을 클립보드에 복사하기 | hooni | 2020.10.10 | 682 |
47 | Develop | [swift] 실행시간 측정하기 | hooni | 2021.09.14 | 680 |
46 | Develop | 정리할 자료. | hooni | 2015.07.02 | 679 |