---- On do, 19 jan 2017 15:40:06 +0100 Bartosz Dziewoński 
<[email protected]> wrote ---- 
 > You are sending it with two backslashes at the end, while the token 
 > should only have one.
 > 
 
That's right, thanks!

{
  "clientlogin": {
    "status": "PASS",
    "username": "Smile4ever"
  }
}

However, I wonder why
https://nl.wikipedia.org/w/api.php?action=query&meta=tokens&type=login&format=json

returns
      "logintoken": "2c69b789da89c2134de2e6c142523de05880cbf3+\\"

instead of +\ at the end.

Kind regards,
Geoffrey De Belie


_______________________________________________
Mediawiki-api mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-api

Reply via email to