Hi, I am trying to use AS3 to make a URL request with authorization header. Using the code below:
var request:URLRequ est = new URLRequest ( 'http://myserviceURL' );
var requestHeader:U RLRequestHeader = new URLRequestHeade r("Authorizatio n", "AuthSub token=CI3xlrq1D xCjtruCAw");
request.request Headers.push(re questHeader);
...
But I get the following error:
ArgumentError: Error #2096:...
User Profile
Collapse
-
"Authorization" Header not supported in AS3 ?
-
Thanks pbmods. I'm quite new to Javascript and just exploring its capabilities. I think the server side support is not a problem, I can post the image to a php page hosted somewhere. The problem is there isn't a graphics library that lets me to create an image on the client side.... -
-
dabei started a topic Is it practical to paint a picutre in JS and save it as a image file to a server?in JavascriptIs it practical to paint a picutre in JS and save it as a image file to a server?
Painting the picture is simple enough but I can't find a way to generate a image file from that. Any ideas?
Thanks!
No activity results to display
Show More
Leave a comment: