当前位置:网站首页>The difference between get and post request types
The difference between get and post request types
2022-07-06 06:51:00 【CHENFENG Muyang】
List of articles
1. Preface
GET and POST The difference between request types ?
Although this problem is basic knowledge , But this is also a hot interview question , Make a summary and review
2. GET and POST The difference between
1. Use scenarios
GET The request method is generally used to obtain and delete data ,POST The request method is generally used to add and modify data
2. How to pass parameters
GET Passing parameters in request mode will splice parameters into URL In the address
POST Passing parameters in the request mode will put the parameters into the request body (Request Body) in
3. Security
GET Is an explicit commit , Low security ;POST Is an implicit commit , High security
4. The size of the data transferred
GET The size of data transmitted in request mode cannot be greater than 2KB, and POST There is no limit to the size of data transmitted by request
5. Upload files
GET The request method cannot upload files , and POST The request method can upload files
3. GET and POST Summary of the differences
GET The request method is generally used to obtain data , Will splice data to URL In the address , Belongs to explicit submission , Low security , The size of transmitted data is limited to 2KB within , Can't upload file
POST The request method is generally used to add and update data , The data will be stored in the request body , It belongs to implicit submission , High security , There is no size limit for the transmitted data , Files can be uploaded
边栏推荐
- 自动化测试环境配置
- After working for 10 years, I changed to a programmer. Now I'm 35 + years old and I'm not anxious
- Redis Foundation
- 【服务器数据恢复】IBM服务器raid5两块硬盘离线数据恢复案例
- [Yu Yue education] flower cultivation reference materials of Weifang Vocational College
- L'Ia dans les nuages rend la recherche géoscientifique plus facile
- 【Hot100】739. 每日溫度
- Simple use of MySQL database: add, delete, modify and query
- 【Hot100】739. 每日温度
- SSO流程分析
猜你喜欢

AttributeError: Can‘t get attribute ‘SPPF‘ on <module ‘models.common‘ from ‘/home/yolov5/models/comm

Database basics exercise part 2

MySQL5.72. MSI installation failed
![[ 英语 ] 语法重塑 之 动词分类 —— 英语兔学习笔记(2)](/img/3c/c25e7cbef9be1860842e8981f72352.png)
[ 英语 ] 语法重塑 之 动词分类 —— 英语兔学习笔记(2)

What are the commonly used English words and sentences about COVID-19?

机器学习植物叶片识别

SQL Server manager studio(SSMS)安装教程

Simple use of MySQL database: add, delete, modify and query

In English translation of papers, how to do a good translation?

Huawei equipment configuration ospf-bgp linkage
随机推荐
[advanced software testing step 1] basic knowledge of automated testing
Use shortcut LNK online CS
Apache dolphin scheduler source code analysis (super detailed)
How to convert flv file to MP4 file? A simple solution
中青看点阅读新闻
My seven years with NLP
Day 245/300 JS foreach data cannot be updated to the object after multi-layer nesting
女生学软件测试难不难 入门门槛低,学起来还是比较简单的
接口自动化测试实践指导(上):接口自动化需要做哪些准备工作
AttributeError: Can‘t get attribute ‘SPPF‘ on <module ‘models.common‘ from ‘/home/yolov5/models/comm
自动化测试环境配置
When my colleague went to the bathroom, I helped my product sister easily complete the BI data product and got a milk tea reward
攻防世界 MISC中reverseMe简述
Leetcode - 152 product maximum subarray
【刷题】怎么样才能正确的迎接面试?
The ECU of 21 Audi q5l 45tfsi brushes is upgraded to master special adjustment, and the horsepower is safely and stably increased to 305 horsepower
AI on the cloud makes earth science research easier
kubernetes集群搭建Zabbix监控平台
BUU的MISC(不定时更新)
Today's summer solstice