https://bugzilla.wikimedia.org/show_bug.cgi?id=70656
Bug ID: 70656 Summary: Error message is unclear. "mustposttoken: The 'token' parameter must be POSTed" Product: MediaWiki Version: unspecified Hardware: All OS: All Status: NEW Severity: normal Priority: Unprioritized Component: API Assignee: wikibugs-l@lists.wikimedia.org Reporter: aaron.halfa...@gmail.com CC: bjor...@wikimedia.org, bryan.tongm...@gmail.com, roan.katt...@gmail.com, s...@reedyboy.net Web browser: --- Mobile Platform: --- This error message happens when performing an edit via the API (action=edit). It means that the token parameter must appear in the *body* of a POST request. Surprisingly (to this dev), you can send a POST request with all of the data in the query string of the URL. FWIW, the API will not accept the 'token' param in the query string of a POST request. The current error message ("The 'token' parameter must be POSTed") suggest to me that the problem was that the request was not a POST requests (which it obviously was). I think that this message ought to be changed to make it clear that the problem was that the 'token' param did not appear in the *body* of the request. I propose: "The 'token' parameter must be in the POST body." Or perhaps more verbosely: "The 'token' parameter was found in the query string, but must be in the POST body." -- You are receiving this mail because: You are the assignee for the bug. You are on the CC list for the bug. _______________________________________________ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l