当前位置:网站首页>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 .
边栏推荐
- Image enhancement - msrcr
- Use of IO streams
- Edge calculation kubeedge+edgemash
- Thesis writing function words
- docker 部署 mysql5.7.35
- CentOS7安装MySQL5.7
- Feignclient calls the get method and reports an error resultvo{result= unknown exception. Exception details: request method 'post' not supported
- openjudge:过滤多余的空格
- 项目中问题合集
- LocalDateTime去掉T,JSONField失效
猜你喜欢

ECCV22 最新54篇论文主图整理

Thesis writing function words

21 day SQL punch in summary

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

FusionGAN代码学习(一)

使用navicat或plsql导出csv格式,超过15位数字后面变成000(E+19)的问题

【idea插件神器】教你如何使用IDEA一键set实体类中所有属性

Digital twin solutions inject new momentum into the construction of chemical parks

多线程进阶:volatile的作用以及实现原理

Redis' bloom filter
随机推荐
URL 形式
项目中问题合集
yandex robots txt
Advanced assignment method of ES6 -- Deconstruction assignment
Operation and use of collection framework
【MySQL】MySQL时区问题、数据库时间相差8小时问题解决
SSM project quick build project configuration file
There is no crossover in the time period within 24 hours
openjudge:校园食宿预订系统
2022 summer practice (first week)
接口幂等性问题
Response<T>类
解决Oracle使用in语句不能超过1000问题
IO流的使用
Tomato timing dimming table lamp touch chip-dlt8t10s-jericho
Long和Integer如何进行比较,为什么报错
openjudge:大小写字母互换
多模块打包:程序包:xxx不存在
List < long >, list < integer > convert each other
mybaties foreach多选查询,index循环,取消and/or标签