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
<https://gist.github.com/tomschulze/16fcdf8b88f285ab29365e4e558cb5f5>
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
<MediaWiki%20API%20edit%20token%20request%20empty%20response> 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