Original http://www.w3school.com.cn/tags/html_ref_httpmethods.asp
GET method
Please note that the query string (name / value pairs) are sent in the URL GET request:
/test/demo_form.asp?name1=value1&name2=value2
GET requests related to some of the other comments:
- GET request can be cached
- GET requests remain in browser history
- GET requests can be bookmarked
- GET requests should not be used when processing sensitive data
- GET requests have length restrictions
- GET requests should only be used to retrieve data
POST method
Please note that the query string (name / value pairs) are sent in an HTTP POST request message body:
POST /test/demo_form.asp HTTP/1.1 Host: w3schools.com name1=value1&name2=value2
POST requests related to some of the other comments:
- POST request will not be cached
- POST requests are not retained in the browser history
- POST can not be bookmarked
- POST request data length is not required