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.
번호 | 분류 | 제목 | 글쓴이 | 날짜 | 조회 수 |
---|---|---|---|---|---|
1173 | Etc | 원어민이 매일 쓰는 일상표현 150개 | hooni | 2023.09.17 | 719 |
1172 | Etc | 영어. 반드시 외워야 할 문장 패턴 100개 | hooni | 2023.06.08 | 817 |
1171 | Develop | [swift] UIView에서 subview 찾기 | hooni | 2022.12.09 | 1136 |
1170 | System/OS | 네트워크 용어 정리 | hooni | 2022.11.20 | 1076 |
1169 | System/OS | [macos] How to Fix ‘You Shut Down Your Computer Because of a Problem’ | hooni | 2022.06.01 | 743 |
1168 | Develop | [ios] 여러 버전의 Xcode 사용하기 | hooni | 2022.05.28 | 632 |
1167 | Develop | [ios] Pod 특정 버전 설치하고 사용하기 | hooni | 2022.05.28 | 1040 |
1166 | System/OS | 맥에서 포트 확인하고 닫기 (mac) | hooni | 2022.03.22 | 855 |
1165 | System/OS | 개인적으로 쓰고 있는 zshrc 파일 | hooni | 2022.02.25 | 792 |
1164 | System/OS | [apache2] Redirect HTTP to HTTPS | hooni | 2022.02.03 | 648 |
1163 | Develop | macOS에 node, npm 설치하기 (homebrew) | hooni | 2021.11.06 | 1106 |
1162 | Develop | [iOS] 시뮬레이터에 푸시 알림을 보내는 방법 | hooni | 2021.10.13 | 1700 |