当前位置:网站首页>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
边栏推荐
- 万丈高楼平地起,每个API皆根基
- 电子书-CHM-上线CS
- (practice C language every day) reverse linked list II
- Today's summer solstice
- How to translate professional papers and write English abstracts better
- Machine learning plant leaf recognition
- GET 和 POST 请求类型的区别
- Successfully solved typeerror: data type 'category' not understood
- 机器学习植物叶片识别
- CS passed (cdn+ certificate) PowerShell online detailed version
猜你喜欢
[brush questions] how can we correctly meet the interview?
The internationalization of domestic games is inseparable from professional translation companies
[English] Verb Classification of grammatical reconstruction -- English rabbit learning notes (2)
How to convert flv file to MP4 file? A simple solution
MySQL5.72. MSI installation failed
SAP SD发货流程中托盘的管理
Map of mL: Based on the adult census income two classification prediction data set (whether the predicted annual income exceeds 50K), use the map value to realize the interpretable case of xgboost mod
Leetcode daily question (971. flip binary tree to match preorder traversal)
On the first day of clock in, click to open a surprise, and the switch statement is explained in detail
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
When my colleague went to the bathroom, I helped my product sister easily complete the BI data product and got a milk tea reward
How to translate professional papers and write English abstracts better
Latex文字加颜色的三种办法
How to convert flv file to MP4 file? A simple solution
Day 246/300 ssh连接提示“REMOTE HOST IDENTIFICATION HAS CHANGED! ”
MySQL5.72. MSI installation failed
Data security -- 13 -- data security lifecycle management
ML之shap:基于adult人口普查收入二分类预测数据集(预测年收入是否超过50k)利用Shap值对XGBoost模型实现可解释性案例之详细攻略
Explain in detail the functions and underlying implementation logic of the groups sets statement in SQL
AttributeError: Can‘t get attribute ‘SPPF‘ on <module ‘models.common‘ from ‘/home/yolov5/models/comm
接口自动化测试实践指导(上):接口自动化需要做哪些准备工作
LeetCode - 152 乘积最大子数组
删除外部表源数据
电子书-CHM-上线CS
Lesson 7 tensorflow realizes convolutional neural network
SSO流程分析
Database basics exercise part 2
成功解决AttributeError: Can only use .cat accessor with a ‘category‘ dtype
PCL实现选框裁剪点云