2009/4/27 Beebe, Mary J <BeebeM(a)battelle.org>rg>:
I am using Java to work with the mediawiki Api. We
would like to add login
to our queries.
Using a post routine, I entered
api.php?action=login&lgname=username&lgpassword=password.
I retrieved the information including lgtoken. I add lgtoken=… to the end
of my query and receive the following error:
Simply adding lgtoken= to the end of your query is not good enough,
you have to send cookies. For more details, please refer to the
documentation at
MediaWiki.org [1].
Roan Kattouw (Catrope)
[1]
http://www.mediawiki.org/wiki/API:Login