I don’t see the option to send urlvariables with POST when targeting html5, if I use URLVariables they seem to be ignored, when using GET everything seems to work fine. Am I using this the wrong way? It works fine when I’m compiling to neko.
var request = new URLRequest(url);
var requestVars = new URLVariables();
requestVars.data = 'test';
request.method = 'POST';
request.data = requestVars;
var urlLoader = new URLLoader();
urlLoader.dataFormat = URLLoaderDataFormat.VARIABLES;
As far as I know some people might want to use “multipart/form-data” header instead of “application/x-www-form-urlencoded”. multipart/form-data allows submiting binary data.