I know that using non-GET methods (POST, PUT, DELETE) to modify server data is the right way to do something. I can find several resources, arguing that GET requests should not modify resources on the server.
However, if a client came up to me today and said: "I don’t care if the" Correct way "is to do this, it’s easier for us to use your API, if we can just use the URLs and get some XML back, we don’t want to create HTTP requests and POST / PUT XML, "what reasons for doing business could I give to convince them otherwise?
Are there any implications for caching? Safety problems? I was looking for more than just “it doesn't make sense semantically” or “it makes things ambiguous”.
Edit:
Thanks for the answers so far regarding prefetching. I'm not so interested in prefetching, since it mainly concerns the use of the internal network API and non-visited HTML pages that have links that can be pre-selected by the browser.
Rob Hruska Apr 01 '09 at 14:27 2009-04-01 14:27
source share