angularjs - redirect using response from web api is not working -
i've read several posts here, issue, none of them have worked. js:
var urlbase = '/api/login'; this.login = function (userid, pwd) { return $http.post(urlbase, { params: { username: userid, password: pwd } } ); }; and web api controller:
var response = request.createresponse(httpstatuscode.redirect); response.headers.location = new uri("http://www.google.com"); return response; i tried get. tracked process using google chrome developer tools (network tab), , saw response 'google.com', application wasn't redirected google.com. 
Comments
Post a Comment