1
私は角JSとCodeIgniterのを使用して、ユーザー登録をしようとしていますが、私はPOST
要求
$scope.signup=function(user){
$http({
method : 'POST',
url : baseUrl+'home/user_register',
data : $scope.user, //forms user object
headers : {'Content-Type': 'application/x-www-form-urlencoded'}
})
.success(function(data) {
alert(data);
});
}
HTML
<label class="item item-input">
<span class="input-label">Full name</span>
<input type="text" ng-model="user.fullName">
</label>
......
.........
にNULL応答を取得しますの角度のjsのHTTP POSTにnullを取得