GET和POST的区别
来源:互联网 发布:电脑视频美颜软件 编辑:程序博客网 时间:2024/05/19 20:22
GET is meant to be used for getting things. Period, you might use the parameters to help figure out what to send back, but the point is—you’re not making any changes on the server! POST is meant to be used for sending data to be processed. This could be as simple as query parameters used to figure out what to send back, just as with a GET, but when you think of POST, think: update. Think: use the data from the POST body to change something on the server
1.With GET, the parameter data is limited to what you can stuff into the Request line
2.When you use GET, the parameter data shows up in the browser’s input bar,they are visible。
3.GET requests can be bookmarked; POST requests cannot.
4.The HTTP 1.1 spec declares GET, HEAD, and PUT as idempotent,
even though you CAN write a non-idemtotent doGet() method yourself (but shouldn’t). POST is not considered idempotent by the HTTP 1.1 spec.
GET is the simplest HTTP method, and its main job in life is to ask the server to get a resource and send it back. That resource might be an HTML page, a JPEG, a PDF, etc. Doesn’t matter. The point of GET is to get something back from the server.
POST is a more powerful request. It’s like a GET plus plus. With POST, you can request something and at the same time send form data to the server (later in this chapter we’ll see what the server might do with that data).
- get 和post 的区别
- get和post的区别
- get和post的区别
- post和get的区别
- Get和Post的区别
- get和post的区别
- post和get的区别
- post和get的区别
- Post和Get的区别
- Get和Post的区别
- get和post的区别
- Post和Get的区别
- get和post的区别
- POST和GET的区别
- post和get的区别
- GET和POST的区别
- post和get的区别
- post和get的区别
- 新年送杂志,抢楼送分活动
- 男人择女:恋爱和婚姻是两码事
- 基于GPS实时监控点
- 开发Visual Studio风格的用户界面--MagicLibrary使用指南
- android SD卡
- GET和POST的区别
- 精典详细内网渗透专题文章
- android 屏蔽程序自动弹出虚拟键盘
- python boost相关配置
- 日程表
- 2010年度总结3:GIS导航软件项目
- Android 开发手记一 ndk + C应用程序 (转)
- 关于 strace
- BW增强数据源