标签云

微信群

扫码加入我们

WeChat QR Code

This question already has an answer here:

Why 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/…

2018年05月28日31分07秒

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

2018年05月27日31分07秒