|
I know from reading some of the REST forums that there is an ungoing discussion about PUT versus POST. First of all, a lot web browsers don't support PUT and many web servers block PUT as well, so a lot of people allow POST to do double duty. If you read the HTTP recommendation, it says that PUT is to be used to insert a given file at a given location, so in theory that could be used both for inserting new files and updating old ones. On the other hand POST is used to send a file and query parameters to a given URI, so that is more about modifying or processing that it is about replacing a given file.
Anyone out there in the REST community can help me wrap my head around this? It's a little hard for me to just accept PUT=INSERT, POST=UPDATE.
|