On Thu, Dec 22, 2016 at 4:33 PM, Scott Koranda <skoranda@gmail.com> wrote:
Should the createtoken be passed as part of the query string or in the POST body?

POST body.
If you have time and could point me to the source code for the createaccount action I will examine it and see if I can discern what I should be passing in.

https://phabricator.wikimedia.org/diffusion/MW/browse/master/includes/api/ApiAMCreateAccount.php, although you'll probably quickly find your way to other files.

BTW, I updated https://www.mediawiki.org/wiki/API:Account_creation for MediaWiki 1.27 and later.

Brad Jorsch (Anomie)
Senior Software Engineer
Wikimedia Foundation