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.
번호 | 분류 | 제목 | 글쓴이 | 날짜 | 조회 수 |
---|---|---|---|---|---|
229 | Develop | [c] 구조체의 설명과 예제.. | hooni | 2003.04.23 | 8373 |
228 | Develop | [c] 구조체/파일 입출력 프로그램 | hooni | 2003.04.23 | 7063 |
227 | Develop | [c] 구조체 배열 예제 (학생 성적 계산) | hooni | 2013.04.23 | 7667 |
226 | Develop | [c] 구구단 최단라인 ㅡㅡ; | hooni | 2013.04.23 | 8004 |
225 | Develop | [c] 관계형 연산자에 대한 설명 | hooni | 2013.04.23 | 7667 |
224 | Develop | [c] 공용체를 이용해 MSB를 LSB로 변환 | hooni | 2013.04.23 | 9376 |
223 | Develop | [c] 격자 직사각형 넓이 구하기 | hooni | 2013.04.23 | 7457 |
222 | Develop | [c] 게임 AI FSM 테스트 샘플 소스.. 꽤 괜찮은 소스.. | hooni | 2013.04.23 | 7370 |
221 | Develop | [c] 거리와 각도를 입력받아서 좌표로 변환 | hooni | 2013.04.23 | 10814 |
220 | Develop | [c] 간단한 채팅(클라이언트/서버) 프로그램 소스 | hooni | 2003.04.23 | 9068 |
219 | Develop | [c] 간단한 점 이동 샘플 소스코드 | hooni | 2013.04.23 | 6542 |
218 | Develop | [c] 간단한 자료구조(stack, queue, linked list) 구현 소스 6 | hooni | 2003.04.23 | 10118 |