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] 문자열 처리 관련 함수들 설명 | hooni | 2003.04.23 | 8015 |
1004 | Develop | [c] 시간 관련 함수 설명과 예제.. | hooni | 2003.04.23 | 11555 |
1003 | Develop | [c] 스토리지 클래스(변수) | hooni | 2003.04.23 | 8222 |
1002 | Develop | [c] 포인터와 함수포인터에 대해.. | hooni | 2003.04.23 | 8044 |
1001 | Develop | [c] 구조체의 설명과 예제.. | hooni | 2003.04.23 | 8400 |
1000 | Develop | [c] 프로세스간의 통신(파이프) | hooni | 2003.04.23 | 6915 |
999 | Develop | [jsp] 정적/동적(차트생성) 이미지 전달 | hooni | 2003.04.23 | 7343 |
998 | Develop | [c] OpenGL 직사각형(2D) 크기 확대/축소 | hooni | 2003.04.23 | 9097 |
997 | Develop | [c++] 더블 링크리스트(linked list) 학습용 초간단 단어장 | hooni | 2003.04.23 | 9367 |
996 | Develop | [c] 구조체/파일 입출력 프로그램 | hooni | 2003.04.23 | 7085 |
995 | Develop | [c] 컴파일러 선행처리기 따라하기.. | hooni | 2003.04.23 | 6703 |
994 | Develop | [c] 싱글, 더블 링크리스트(linked list)로 만든 예제.. | hooni | 2003.04.23 | 6767 |