On Thu, Sep 29, 2011 at 2:54 PM, Jani Patokallio <jpatokal(a)iki.fi> wrote:
I seem to recall that once upon a time the API requires all requests to
That was never the case. Some modules, like login, edit, etc., do
require POST, but action=query requests have always allowed both GET
but apparently GET is now allowed as well, and
cachability. The API:Quick start page links to
, but apparently
this link is broken and (as far as I can tell?) has never existed in the
history. So two questions:
1) When was the change made, or has it been this way all along?
It's been this
way all along.
2) Is there are list of which operations require POST?
the docs, at least login and edit seem to, but is there a consolidated
list? The Perl MediaWiki::API module suggests that GET is allowed only
for query, logout, purge, and paraminfo.
See the self-documenting page at http://en.wikipedia.org/w/api.php
Ctrl+F for "POST".