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(){
.success(function(res){
console.log(res);
});
}
}