当前位置:网站首页>Differences between get and post request modes
Differences between get and post request modes
2022-06-24 18:34:00 【Dolphins love cats I】
GET
1. Semantics is to get
2. GET How to carry parameters queryString, Splice directly behind the address bar , No more requests in the body
3. GET Theoretically, carrying data is infinite , But because the browser address bar is limited , IE 2KB
4. GET Will be actively cached by the browser
5. GET Send in clear text
6. GET Can only send url Encoded data (ASCII code ), If it is Chinese, it will automatically transcode
POST
1. Semantics is to
2. POST Carrying time is requestBody, There is no... In the address bar , In the request body
3. POST Theoretically, the data carried is infinite , But it will be limited by the server
4. POST Requests are not actively cached by the browser , Unless manually set
5. POST Dark text transmission
6. POST In theory, you can send data in any format , But it has to do with the request header content-type Matching
Common request methods
HTTP/1.0
1. GET : Prefer the way of acquisition
+ Most of them give back-end parameters , Used to get some columns of data
2. POST : Prefer to give the server some data
+ Most of them log in , Give the server some information , You give me a simple result
3. PUT : Prefer to give the server some information , But it is to add and use
+ Most do registration , Give the server some information , You save this information
4. HEAD : Used to get server header information
HTTP/1.1
5. DELETE : Prefer to delete
+ Mostly delete comments , Delete micro-blog
6. CONNECT: Pipe connection changes proxy connection usage
7. PATCH : Prefer to give the server some information , Prefer to modify some information
+ Most of them are used to improve user data
8. OPTIONS: Used to obtain server performance , However, the server's consent is required
边栏推荐
- Wechat applet development - Implementation of rotation chart
- Bigdecimalavoiddoubleconstructorrule: do not directly use the double variable as a parameter to construct BigDecimal
- Online sequence flow chart making tool
- Nacos cluster starts throwing set of SQL_ SELECT_ LIMIT is not support
- What are the reasons for the abnormal playback of the online channel of the channel accessed by easycvr national standard protocol?
- EasyNVR使用Onvif探测设备失败,显示“无数据”是什么原因?
- Restcloud ETL extracting dynamic library table data
- About whether arm's large and small end mode is related to CPU or compiler
- Failure analysis | database failure MHA is not switched
- How about China Power Investment Xianrong futures? Is it safe to open futures accounts?
猜你喜欢

How to select the best test cases for automation?

Several key points for enterprises to pay attention to digital transformation
R language Quantitative Ecology redundancy analysis RDA analysis plant diversity species data visualization
An analysis of the comments on the TV series Douban by procedural apes

Ten software development indicators for project managers
![717.1-bit and 2-bit characters [sliding window]](/img/61/449566d2a8efbd403ae0361f839683.jpg)
717.1-bit and 2-bit characters [sliding window]

Digital transformation informatization data planning and technology planning

SAP license: what is ERP supply chain

Two micro service interviews where small companies suffer losses

Considerations for it project demand analysis
随机推荐
25.sql statement differentiation
How to select the best test cases for automation?
Architecture decryption from distributed to microservice: several common microservice architecture schemes
SAP license:sap s/4hana is the answer
R中的指数回归
Redis learning -- list of redis operations
Ten excellent business process automation tools for small businesses
About swagger
Optimizing bloom filter: challenges, solutions, and comparisons
Creating a new MySQL user in Amazon RDS environment - creating a new MySQL user in Amazon RDS environment
Cloud service selection of enterprises: comparative analysis of SaaS, PAAS and IAAs
Two micro service interviews where small companies suffer losses
Some knowledge of the beginning of 2022
Wechat applet development - Implementation of rotation chart
EasyGBS视频平台TCP主动模式拉流异常情况修复
Selection (032) - what is the output of the following code?
How does the video platform import the old database into the new database?
Industry Cloud video editing software
Application service access configuration parameters
Restcloud ETL extracting dynamic library table data