当前位置:网站首页>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
边栏推荐
- Traffic encryption of red blue confrontation (OpenSSL encrypted transmission, MSF traffic encryption, CS modifying profile for traffic encryption)
- [unity] how to export FBX in untiy
- 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
- Attributeerror: can 't get attribute' sppf 'on < module' models. Common 'from' / home / yolov5 / Models / comm
- How much is it to translate Chinese into English for one minute?
- 【每日一题】729. 我的日程安排表 I
- Brief introduction to the curriculum differences of colleges and universities at different levels of machine human major -ros1/ros2-
- PCL实现选框裁剪点云
- E-book CHM online CS
- Delete external table source data
猜你喜欢

基于购买行为数据对超市顾客进行市场细分(RFM模型)

Fedora/rehl installation semanage

C语言_双创建、前插,尾插,遍历,删除

接口自动化测试实践指导(上):接口自动化需要做哪些准备工作

Wish Dragon Boat Festival is happy

Today's summer solstice

What is the difference between int (1) and int (10)? Senior developers can't tell!

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

Leetcode daily question (971. flip binary tree to match preorder traversal)

【服务器数据恢复】IBM服务器raid5两块硬盘离线数据恢复案例
随机推荐
GET 和 POST 请求类型的区别
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
[ 英语 ] 语法重塑 之 英语学习的核心框架 —— 英语兔学习笔记(1)
What are the commonly used English words and sentences about COVID-19?
Office-DOC加载宏-上线CS
同事上了个厕所,我帮产品妹子轻松完成BI数据产品顺便得到奶茶奖励
Monotonic stack
On the first day of clock in, click to open a surprise, and the switch statement is explained in detail
MySQL high frequency interview 20 questions, necessary (important)
Huawei equipment configuration ospf-bgp linkage
SQL Server manager studio(SSMS)安装教程
Day 239/300 注册密码长度为8~14个字母数字以及标点符号至少包含2种校验
Reflex WMS medium level series 3: display shipped replaceable groups
Do you really know the use of idea?
成功解决TypeError: data type ‘category‘ not understood
万丈高楼平地起,每个API皆根基
How to reconstruct the class explosion caused by m*n strategies?
mysql的基础命令
Brief introduction to the curriculum differences of colleges and universities at different levels of machine human major -ros1/ros2-