当前位置:网站首页>The difference between get and post
The difference between get and post
2022-07-28 05:37:00 【Programmer system】
Before that , Let's take a look at the standard answers from the Internet :
1.GET Parameters are usually included in URL in , and POST adopt Request body in .GET It is harmless when the browser is backout , and POST The request will be submitted again .
2.GET The request parameters will be completely preserved in the browser history , and POST The parameters in are not retained .
3.GET Request can only proceed url code , and POST Supports a variety of coding methods .
4.GET Request in URL There is a length limit on the parameters passed in
5. The data type for the parameter ,GET We only accept ASCII character , and POST There is no limit to
Check through Google CSDN Of Headers:

GET Method
'''
GET It means getting information .
GET By default HTTP Request method .
GET Method to pass the parameters key/value The form is stored in URL Inside , If the parameter is displayed as it is in English , If it is Chinese or other characters encryption , therefore GET Request in URL There is a length limit on the parameters passed in . It's not safe because the parameter shows the address bar , Generally, requests requiring confidentiality are not used GET.
'''
POST Method
'''
POST E-mail means . It is used to modify data on the server , Generally, these data should be kept confidential , It's like a letter , The contents of the letter can only be seen by the addressee . When the user enters the account and password to log in, the account and password are passed as parameters HTTP Request transfer to server , It must not be used at this time GET Method to display the account password directly URL On , You should use POST Methods to ensure the confidentiality of data .
'''
that POST and GET What is it? ?
POST and GET yes HTTP Two ways to request , It can send data from browser to server with parameter request .HTTP The underlying protocol of the request is TCP/IP, So there is no essential difference between the two . Of course, there are other ways to request . I haven't used anything else , If you learned later , In addition .
边栏推荐
- 多线程进阶:锁的策略
- 2022 summer practice (PowerDesigner tutorial learning record) (first week)
- Performance test classification
- Invalid bound statement (not found): com.exam.mapper.UserMapper.findbyid
- openjudge:统计数字字符个数
- GET与POST区别
- Problems encountered when the registry service Eureka switches to nocas
- 24小时内的时间段无交叉
- Example of main diagram of paper model
- 导出excel,生成多个sheet页,并命名
猜你喜欢

Test Development - UI testing in automated testing

GET与POST区别

mysql 为查询结果增加序号

Example of main diagram of paper model

个人写的一个文件上传工具网站

Thinking on multi system architecture design

VMware Workstation 与 Device/Credential Guard 不兼容。禁用 Device/Credential Guard

冶金物理化学复习 --- 气-液相反应动力学

FusionGAN代码学习(一)

repackag failed: Unable to find main class
随机推荐
Non functional test
自定义Json返回数据
BeanUtils. Copyproperties cannot copy different list sets problem solving lists.transform function
导出excel,生成多个sheet页,并命名
Response<T>类
MySQL practice 45 lectures
Bean的作用域、执行流程、生命周期
Openjudge: filter extra spaces
正则表达式
MySQL adds sequence number to query results
【MySQL】MySQL时区问题、数据库时间相差8小时问题解决
How about ink cloud?
接口幂等性问题
When SQL queries the list, the data is inconsistent twice, and limit is automatically added
Redis' bloom filter
2021CSDN博客之星评选,互投
IDEA使用dev-tool实现热部署
数据库面试
ES6 new variable modifiers let and const, new basic data type symbol
You must configure either the server or JDBC driver (via the ‘serverTimezone)