Clarify "mustposttoken" API error message
authorMZMcBride <g@mzmcbride.com>
Thu, 11 Sep 2014 01:22:17 +0000 (21:22 -0400)
committerMZMcBride <g@mzmcbride.com>
Thu, 11 Sep 2014 01:22:17 +0000 (21:22 -0400)
Bug: 70656
Change-Id: Id30e54472299bc3998644914eca4e19e9429fd2b

includes/api/ApiMain.php

index 3497c8e..0d677b1 100644 (file)
@@ -788,7 +788,7 @@ class ApiMain extends ApiBase {
                                $this->getRequest()->getQueryValues()
                        ) ) {
                                $this->dieUsage(
-                                       "The '{$module->encodeParamName( 'token' )}' parameter must be POSTed",
+                                       "The '{$module->encodeParamName( 'token' )}' parameter was found in the query string, but must be in the POST body",
                                        'mustposttoken'
                                );
                        }