USES:
- Get is used to get data;
- Post and PUT are used to transfer data.
Parameter length:
- Get: Take the shortest IE limit (2083 characters)
- Put, post: Tomcat defaults to 2MB (the maximum size for protocols and browsers is unlimited, but is limited by the server)
The content-type:
- Get requests place parameters in the URL, so you don’t need to set content-Type
- Put, post, etc
- application/x-www-form-urlencoded
- application/json
- multipart/form-data
- text/xml
- Can check other MIME types of tables: www.w3school.com.cn/media/media…
Different operations on data:
- The get: query
- Post: the new
- Put: modify