Hi everybody,

I am trying to receive an edit token for the MediaWiki 1.19 API, however all I get is an empty response.

I created a gist with my python code. The script is successfully logging into the wiki using my admin credentials prior to sending the request for the edit token. The WRITE_API is enabled.

I read through the API docs and searched on stackoverflow. However, I could not find any answers. This is really bugging me...

What am I doing wrong, why is the server not responding with the edit token?

Kind regards,

Tom