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 | [c++] mfc로 만든 현재 디렉토리 읽어오기/세팅하기 (GetCurrentDirectory/SetCurrentDirectory) | hooni | 2013.04.23 | 8473 |
732 | Develop | [c++] mfc에서 윈도우 항상 위 속성 주기.. | hooni | 2013.04.23 | 11312 |
731 | Develop | [c++] mfc이용한 트레이아이콘(TrayIcon) 클래스 예제 프로젝트 | hooni | 2013.04.23 | 9255 |
730 | Develop | [c++] namespace 사용 예 | hooni | 2003.04.23 | 8661 |
729 | Develop | [c++] p.118 확인학습 5번 | hooni | 2003.04.23 | 10737 |
728 | Develop | [c++] p.47 연습문제 3번 | hooni | 2003.04.23 | 10108 |
727 | Develop | [c++] p.58 연습문제 2번 | hooni | 2003.04.23 | 16302 |
726 | Develop | [c++] RSA Sample 4 CPP | hooni | 2013.04.23 | 9189 |
725 | Develop | [c++] SetWindowPos함수를 이용한 크기조절 예제 1 | hooni | 2013.04.23 | 11091 |
724 | Develop | [c++] String Tokenizer (나중에 c 코드로 변경해서 사용할 것) | hooni | 2013.04.23 | 11693 |
723 | Develop | [c++] template 사용예 | hooni | 2003.04.23 | 7154 |
722 | Develop | [c++] Win32 API 기본 출력인 MessageBox() 함수 사용 예제.. | hooni | 2013.04.23 | 12654 |