我使用角度爲客戶端和codeigniter PHP爲後端和其他服務器。當我打開其餘的服務器上基本身份驗證我可以通過這種方式從客戶端到達的數據:angularjs消化問題和缺乏理解
method: 'GET',
url: 'http://localhost/myDomain',
headers: {"Authorization": "Basic " + btoa("username:password")}
但是,當我打開我消化不能只是改變基本消化,達到數據。有誰知道爲什麼?
感謝
[AngularJS和摘要HTTP認證]的可能的複製(http://stackoverflow.com/questions/17531753/angularjs-and-digest-http-authentication) –