标签云

微信群

扫码加入我们

WeChat QR Code

This question already has an answer here:PUT vs. POST in REST32 answersWhy do we have method 'PUT' in AJAX and where is it most used?Example:$.ajax({url: 'script.php',type: 'PUT',success: function(response) {//...}});Why didn't the author simply use GET/POST instead?


en.wikipedia.org/wiki/…

2019年06月26日46分14秒

See stackoverflow.com/questions/630453/put-vs-post-in-rest

2019年06月26日46分14秒