When is it okay to use GET links to do a POST’s job? And I’m talking about logged-in users, so web crawlers aren’t an issue.
Normally, of course, you should use the POST method with a form when you’re changing stuff on the server end. But in practice tons of websites use GET for POST-like stuff, so it must work okay.
And you can solve problems like Google Web Accelerator pre-fetching pages if you have a ? in the URL, like
voteup?id=42. Question is, are there other web accelerators that pre-fetch indiscriminately?
The main reason I’m asking is that it’s a real pain to style form buttons to look like links. Cross-browser, at least. And that goes for
input type="submit" or
Anyone else have experience using GET to do POST’s job in cases like this?
14 June 2007 by Ben 13 comments