java - 关于post提交问题(POST提交为什么比GET提交数据量大)
高洛峰
高洛峰 2017-04-18 10:46:26
0
1
591
高洛峰
高洛峰

拥有18年软件开发和IT教学经验。曾任多家上市公司技术总监、架构师、项目经理、高级软件工程师等职务。 网络人气名人讲师,...

reply all(1)
洪涛

It’s okay for the interviewer to ask this, but it’s problematic for you to ask this here. Because the question is unclear.

Do you want to askwhy the amount of data submitted by POST can be larger than that by GET?

The answer is that the implementation of browsers and HTTP servers limits the length of the URL, thereby limiting the amount of data that GET can submit.

Or you want to askfor the same data, if you use POST to submit it, will it consume more traffic than GET submission?

It will be a little bit more. You will know after writing the full text of the two methods. More Content-LengthContent-Type heads.

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template