app.factory('HomePage',function($http){
factory = {};
//get data
factory.getData = function(username){
//alert(issueinput);
alert("Home Page" + username);
var data = {puid: username};
return $http({
method:'get',
url: 'http://172.30.55.67:12080/rest/secure/brand/1/portalUser',
});
and i need to pass parameter data via through headers , but when it hits
rest api its giving 403 forbidden error what is correct way to do it please
help me
--
You received this message because you are subscribed to the Google Groups
"Angular and AngularJS discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.