On 2017-01-19 15:27, geoffreydebelie wrote:
Hi.logintoken=85af2296d03f8ce504123b7733b0a7ad5880c782%2b%5c%5c&username=Smile4ever&password=*******&rememberMe=1 has the same result (I even tried with a newly requested login token): { "error": { "code": "badtoken", "info": "Invalid CSRF token.", "*": "See https://nl.wikipedia.org/w/api.php for API usage." }, "servedby": "mw1285" }
You are sending it with two backslashes at the end, while the token should only have one.
-- Bartosz Dziewoński _______________________________________________ Mediawiki-api mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/mediawiki-api
