Hi,
I'm getting different results on Windows and Mac OS for an api request sending back JSON.
This is my request :
sServicePath = API_URL + "theMethod/?";
urlRequest.method = URLRequestMethod.GET;
urlRequest.url = sServicePath;
urlVars = new URLVariables();
urlVars.someVar = someVar;
urlRequest.data = urlVars;
loader = new URLLoader()
loader.load(urlRequest);
protectedfunction completeHandler(evt:Event) : void
{
// this traces the JSON string on Mac OS and HTML on Windows
trace(evt.target.data);
}
My app is Air 3.5.
My requests that use POST are working fine on both Windows And Mac.
Any ideas ?
Thank you.