안녕하세요 어떻게 내가 각도로 Http 에서이 개체를 매개 변수로 전달할 수 있습니까? 내 WCG 공공 무효 CreateNewAccount (사용자 우리)
$scope.RegisterUser = function(){
var us = {
UserName:$scope.userName,
Password:$scope.password,
UserRoleID:null,
Company:$scope.company,
Terms:$scope.terms,
ID:null,
BuyerID:app.buyerId
};
$http.get(
app.wcf+'/CreateNewAccount'angular.toJson({us:us}))
.then(
function(resp){
app.Logger(resp.data);
},
function(err){
app.Logger(err);
})};
를 호출이 그것을 솔기를 받고 있어요? –
은 wcf 일 수 있지만 atm은이 객체를 보내는 방법을 얻거나 get 할 수 없습니다. – vivid