1. You can specify the type of request to send using the Method attribute of the form tag

2. If it is a GET request, the submitted data will be concatenated to the URL

? userName=lnj&userPwd=123456

3. In a POST request, the submitted data is placed in the request header

4. Similarities and differences between GET and POST requests

4.1 Similarities:

Both submit data to a remote server

4.2 Differences:

4.2.1 Different Data Stores are submitted

The GET request puts the data after the URL

A POST request puts data in the request header

4.2.2 Different size limits for submitted data

GET requests have size limits on data

POST requests have no size limits on data

5. Application scenarios of GET/POST requests

GET requests are used to submit non-sensitive data and small data

POST requests are used to submit sensitive data and big data