mardi 24 janvier 2017

ActionScripts3 POST to URL issue

I'm trying to use API of, when i copy and paste URL to Firefox it return json values, but in Actionscripts3 wrong value appear in output. I thing my code is not right.

I want to POST data over URL and print response with "trace" in output window.


function URLRequest_method() 
    var url:String = "";
    var request:URLRequest = new URLRequest(url);
    var variables:URLVariables = new URLVariables();
    request.method = URLRequestMethod.POST;


Aucun commentaire:

Enregistrer un commentaire