About post and get
When you use form in html, you can have two value "post" or "get" for method get: With the HTTP "get" method, the form data set is appended to the URI specified by the action attribute (with a question-mark ("?") as separator) and this new URI is sent to the processing agent. post: With the HTTP "post" method, the form data set is included in the body of the form and sent to the processing agent. If use get, your action is "test.html?test=1", the "test=1" will be replaced by form data set, but if use the "post", the "test=1" will not be replaced, it will also be sent over. The form data set's value will be encoded by your agent automatic, but if your action is "test.html?test=1", the value will not be encoded, you have to encode it if it has the special character like '=', '?' etc..[@more@]
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/545828/viewspace-999046/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- Get/Post
- jquery GET POSTjQuery
- 3. Post and Get
- GET與POST區別
- curl 簡單post get
- What is the difference Put and Post and Get?
- get和post區別
- form&method【POST~GET】ORM
- Tomcat、http、get/postTomcatHTTP
- Using SQL Script Get Information about ASMSQLORMASM
- GET 與 POST 的區別
- GET和POST的區別?
- GET和POST的區別
- GET 和 POST 的區別
- POST 和 GET 的區別
- post與get的區別
- Post,Get介面傻傻分不清?
- jQuery – AJAX get() 和 post() 方法jQuery
- okhttp get post 使用原始碼HTTP原始碼
- get與post的區別?
- HTTP方法_GET 對比 POSTHTTP
- Ajax Post 與 Get 例項
- [後臺技術]Post/Get
- GET與POST的真正區別
- POST與GET請求區別
- post、get的區別總結
- 筆記:Curl 簡單 post + get筆記
- Python探析get和post方法Python
- PHP中GET與POST變數PHP變數
- 面試之 get 和 post 區別面試
- HTTP Get,Post請求詳解HTTP
- method=post/get區別記錄
- Get和Post請求詳解
- Get和Post、冪等、淨荷
- 再看GET與POST的區別
- jQuery Ajax get post 方法詳解jQuery
- java傳送GET和post請求Java
- get與post的請求區別