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.
번호 | 분류 | 제목 | 글쓴이 | 날짜 | 조회 수 |
---|---|---|---|---|---|
1005 | Develop | [c++] 기초강좌 #02(레퍼런스,메모리할당) | hooni | 2003.04.23 | 11482 |
1004 | Develop | [c++] 기초강좌 #03(함수의 매개변수 전달) | hooni | 2003.04.23 | 12138 |
1003 | Develop | [c++] 기초강좌 #04(클래스) | hooni | 2003.04.23 | 11870 |
1002 | Develop | [c++] 더블 링크리스트(linked list) 학습용 초간단 단어장 | hooni | 2003.04.23 | 9367 |
1001 | Develop | [c++] 데이터 압축 프로그램 소스 (lzw) | hooni | 2013.04.23 | 9970 |
1000 | Develop | [c++] 디렉토리 내의 파일 찾기 FindFirstFile() 함수 6 | hooni | 2013.04.23 | 20663 |
999 | Develop | [c++] 레지스트리 등록 예제 1 | hooni | 2013.04.23 | 8823 |
998 | Develop | [c++] 레지스트리 편집하는 부분..ㅡㅡ; | hooni | 2013.04.23 | 8304 |
997 | Develop | [c++] 링크리스트(linked list) 클래스(스택,큐) | hooni | 2003.04.23 | 9595 |
996 | Develop | [c++] 마방진 소스코드 | hooni | 2013.04.23 | 9570 |
995 | Develop | [c++] 문자열 뒤집기(문자열 거꾸로 출력) | hooni | 2013.04.23 | 17320 |
994 | Develop | [c++] 바탕화면 테두리에 자석처럼 붙는 스냅효과.. | hooni | 2013.04.23 | 8932 |