Is it possible to call a web service though a proxy server using angular $http? My webservices is hosted in my server and we have a proxy server is it possible that i can redirect my request through that proxy not by changing device property but by through code?
$http({
method: $scope.method,
url: $scope.url,
params: { "member_id": "998014437" }
})
.then(function (response) {
$scope.status = response.status,
$scope.data = response.data;
}, function (response) {
$scope.data = response.data || "Request failed";
$scope.status = response.status;
}
);