URLRequest 请求参数设置

var request:URLRequest = new URLRequest("http://");
request.method = URLRequestMethod.GET or URLRequestMethod.POST; //请求方式
var variables: URLVariables = new URLVariables();
variables.status = “参数内容”;
request.data = variables;
request.requestHeaders = new Array(new URLRequestHeader("Authorization","")); //追加到HTTP 请求的 HTTP 请求标头的数组

你可能感兴趣的:(Flex)