How to send POST in angularjs with multiple params?
Client Side Data needs to be grouped in an object array as payload – Indata: var Indata = {‘product’: $scope.product, ‘product2’: $scope.product2 }; Pass the payload through $http.post as the second argument: $http.post(“http://localhost:53263/api/Products/”, Indata).then(function (data, status, headers, config) { alert(“success”); },function (data, status, headers, config) { alert(“error”); }); Server Side Create a Data Transfer Object(DTO) … Read more