2017-12-01 2 views

답변

1

각도 1.6 성공 기능이 없습니다 :

$http({ 
      url: urlToServer, 
      method: "POST", 
      //cache: false, 
      data: jQuery.param(dataObj), 
      headers: {'Content-Type': 'application/x-www-form-urlencoded'} 
     }).then(function (res){ 
      alert("success", "Hoorey", "Verified"); 
     },function (error){ 
      alert("warning", "Oops!", "Could NOT Login"); 
     }); 
아래처럼 사용
관련 문제