I spent an hour today trying to figure out why I can’t login. There is incorrect code: 'Authorization': 'KSCBasic user="' + user + '", pass="' + passw + '", internal = "1"', And there is correct: 'Authorization': 'KSCBasic user="' + user + '", pass="' + passw + '", internal="1"', I had spaces around ‘=’ and it was the problem. Dirkpitt, may be your code is not working because of using ‘ instead of ” ?