I am trying to send data from a form AngulaJS with POST method and receive 
with ASP (not .NET) system to manage them from my application.

I do not succes to receive the data.

It is impossible?
How I do wrong?

Thanks a lot.



My test code in the client sida and server side is like this:
Every time the "ed" and "nb" is empty.



test.html  for the client side:
...

       <form ng-submit="vm.enviar()">
        Nombre: <input type="text" ng-model="vm.fdatos.nombre">
        <br>
        Edad: <input type="text" ng-model="vm.fdatos.edad">
        <br>
        <input type="submit" value="Enviar">
       </form>
...

function controladorPrincipal($http){
    var vm=this;
    vm.fdatos = {};

    vm.enviar = function(){

      $http.post("http://www.xxxxx.net/recibir.asp";, vm.fdatos )
        .success(function(res){
          console.log(res);
        });
    }
}


And for receibing data with ASP (not .NET) in the server side:


recibir.asp

...
ed = Request.Form("edad")
nb = Request.Form("nombre")
...

Every time the ed and nb is empty.



-- 
You received this message because you are subscribed to the Google Groups 
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to