How can I access a password protected webservice from AS3 (compiled using flash ide, so not flex application)
I tried just calling it straight like http://username:password@webserviceurl.co
and it gets rejected.
Also tried using this
var authHeader:URLRequestHeader = new URLRequestHeader("Authorization","Basic " + credentials);
//add the header to request
request.requestHeaders.push(authHeader);
where "Credentials" is the username:password that I just used a website to convert to base64.
That doesn't seem to work either. Not seeing the header get send in the packet watcher.
Am I missing anything?