Last active
January 21, 2016 03:38
-
-
Save filbertkm/c1e14a3fbda62fd5db88 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
post login | |
* action=login | |
* lgname=Bot | |
* lgpassword=Password | |
array ( | |
'login' => | |
array ( | |
'result' => 'NeedToken', | |
'token' => '#######', | |
'cookieprefix' => 'testwikidatawiki', | |
'sessionid' => '##########', | |
), | |
) | |
* action=login | |
* lgname=Bot | |
* lgpassword=Password | |
* lgtoken=###### | |
(then should be result => 'Success' here and i have my edit token etc) | |
array ( | |
'login' => | |
array ( | |
'result' => 'NotExists', | |
), | |
) | |
array ( | |
'servedby' => 'mw1017', | |
'error' => | |
array ( | |
'code' => 'notoken', | |
'info' => 'The token parameter must be set', | |
'*' => 'See https://test.wikidata.org/w/api.php for API usage', | |
), | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment