Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $http({ method: 'POST',
- url: URL + '&user=' + $scope.vModel.username + '&password=' + $scope.vModel.password,
- headers: { 'Access-Control-Allow-Origin': '*' } }).
- then(function(response){})
- $http({ method: 'POST',
- url: url, data: { user: $scope.vModel.username, password: $scope.vModel.password },
- headers: { 'Access-Control-Allow-Origin': '*' } }).then(function (response){})
Add Comment
Please, Sign In to add comment