[Mediawiki-api] GET vs POST

Bryan Tong Minh bryan.tongminh at gmail.com
Thu Sep 29 13:00:10 UTC 2011


On Thu, Sep 29, 2011 at 2:54 PM, Jani Patokallio <jpatokal at iki.fi> wrote:
> 1) When was the change made, or has it been this way all along?
>
As far as I remember, and that is at least from 2007 onwards, GET has
always been allowed, except for those can are considered write
actions.

> 2) Is there are list of which operations require POST?  Browsing through
> 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.
>
GET is always allowed, unless the module documentation at action=help
indicates "This module only accepts POST requests".


Bryan



More information about the Mediawiki-api mailing list