views:

94

answers:

2

Simple question: everyone knows you can POST data in a HTML form to the server, and the browser will handle serializing the data in the form.

However, is it possible to do this using a PUT verb instead? Either through Javascript or some other means.

A: 

No. Section 9.6 on RFC 2616 states that the URI is of the resource to be put, and the web server must not use it towards any other resource. So, while technically you may be able to construct a server process/script that would, you should not depend on any server allowing that.

Ignacio Vazquez-Abrams