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.
번호 | 분류 | 제목 | 글쓴이 | 날짜 | 조회 수 |
---|---|---|---|---|---|
1149 | Database | [sql] 간단한 SQL 문법 정리 | hooni | 2003.04.23 | 12551 |
1148 | Develop | [c] 그래픽스 자료(OpenGL 라이브러리) 샘플 소스 | hooni | 2003.04.23 | 10181 |
1147 | Develop | [opengl] 컴퓨터 그래픽스 강의 자료(수업자료) | hooni | 2003.04.23 | 20432 |
1146 | Develop | [c++] p.47 연습문제 3번 | hooni | 2003.04.23 | 10105 |
1145 | Develop | [c++] p.58 연습문제 2번 | hooni | 2003.04.23 | 16296 |
1144 | Develop | [c++] p.118 확인학습 5번 | hooni | 2003.04.23 | 10734 |
1143 | Develop | [c] 프로그래밍 ppt, 스킬업 (비트 수업자료) | hooni | 2003.04.23 | 8177 |
1142 | System/OS | [linux] 콘솔/Xwindow 에서 PC스피커 소리 없애기 | hooni | 2003.04.23 | 16352 |
1141 | Database | [mysql] 쓰레드가 계속 쌓이기 시작하고 사라지지 않을때.. | hooni | 2003.04.23 | 12787 |
1140 | System/OS | [linux] 쉘 환경변수 PS1(프롬프트) | hooni | 2003.04.23 | 13491 |
1139 | System/OS | [linux] APM(apache, php, mysql) + gd 설치순서.. | hooni | 2003.04.23 | 18851 |
1138 | System/OS | [linux] 메일서버 세팅정보(sendmail) | hooni | 2003.04.23 | 17407 |