2 Replies Latest reply on Jun 26, 2009 11:14 AM by rckehoe

    HTTPService through Actionscipt

    rckehoe

      I have this code:

       

      var U:String = login_username.text;
      var P:String = login_password.text;

        
      var LoginService:HTTPService = new HTTPService();
      LoginService.method = "POST";

      LoginService.url = URL+"actions/login.php?username="+U+"&password="+P;
      LoginService.addEventListener(ResultEvent.RESULT,CheckLoginStatus);
      LoginService.send();

       

      It works fine on the backend using the $_GET method... But I am wanting to use the POST function.... Why doesn't it work?