javascript - how to pass credentials with angular-http-auth? - Stack Overflow
lundi 18 août 2014 à 10:05 Colibri, le 18/08/2014 à 10:05
Nickel je viens d'apprendre un truc, user:password@url se traduit en header http de la sorte:
Authorization': 'Basic ' + credentials
// creditentials est la string user:password en base64.
Simple et efficace.
(Permalink)
Nickel je viens d'apprendre un truc, user:password@url se traduit en header http de la sorte:
Authorization': 'Basic ' + credentials
// creditentials est la string user:password en base64.
Simple et efficace.
(Permalink)