Thread:Project:Support desk/Logging into api using mediawiki/reply (2)

Hey thanks your reply helped. I had to send the sessionid on the second request.

http://upgrade.vaniquotes.org/w/api.php?action=login&lgname=Test&lgpassword=test123&lgtoken=ffd02de0c7fdcad89b90a4bf06bc88f6&sessionid=vaniquotes2_vaniquotes_a72b5f78bd0dd4006efd45fb7902588e&format=json

So i had to append the cookieprefix and the sessionid together and send it together as &sessionid=vaniquotes2_vaniquotes_a72b5f78bd0dd4006efd45fb7902588e

This logged me in. Unfortunately, this is not very explicitly stated in the wiki manuals for login