当前位置:网站首页>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
边栏推荐
- 我的创作纪念日
- How to convert flv file to MP4 file? A simple solution
- After working for 10 years, I changed to a programmer. Now I'm 35 + years old and I'm not anxious
- Redis Foundation
- Introduction and underlying analysis of regular expressions
- The registration password of day 239/300 is 8~14 alphanumeric and punctuation, and at least 2 checks are included
- pymongo获取一列数据
- 详解SQL中Groupings Sets 语句的功能和底层实现逻辑
- 雲上有AI,讓地球科學研究更省力
- Fedora/rehl installation semanage
猜你喜欢
Fedora/rehl installation semanage
云上有AI,让地球科学研究更省力
前缀和数组系列
[advanced software testing step 1] basic knowledge of automated testing
hydra常用命令
SAP SD发货流程中托盘的管理
LeetCode每日一题(971. Flip Binary Tree To Match Preorder Traversal)
mysql的基础命令
【服务器数据恢复】IBM服务器raid5两块硬盘离线数据恢复案例
CS passed (cdn+ certificate) PowerShell online detailed version
随机推荐
How to translate biomedical instructions in English
Latex文字加颜色的三种办法
CS passed (cdn+ certificate) PowerShell online detailed version
Traffic encryption of red blue confrontation (OpenSSL encrypted transmission, MSF traffic encryption, CS modifying profile for traffic encryption)
Every API has its foundation when a building rises from the ground
一文读懂简单查询代价估算
C语言_双创建、前插,尾插,遍历,删除
Today's summer solstice
查询字段个数
医疗软件检测机构怎么找,一航软件测评是专家
At the age of 26, I changed my career from finance to software testing. After four years of precipitation, I have been a 25K Test Development Engineer
Market segmentation of supermarket customers based on purchase behavior data (RFM model)
Office doc add in - Online CS
How to do a good job in financial literature translation?
Simple query cost estimation
SAP SD发货流程中托盘的管理
机器人类专业不同层次院校课程差异性简述-ROS1/ROS2-
kubernetes集群搭建Zabbix监控平台
Py06 dictionary mapping dictionary nested key does not exist test key sorting
UNIPRO Gantt chart "first experience": multi scene exploration behind attention to details