代码
$http({
url: '/ABC',
method: 'POST',
async: false,
params: {
addData: $scope.Data,
servicetype: 'persistQuote'
}
}).success(function (response, opts) {
console.log(response);
}).error(function (data, status, headers, config) {
console.log("Not Successfull");
});
使用JSON大对象调用HTTP Post请求时发生错误。