jeudi 25 février 2016

AngularJS setting Headers for each request

I'm setting a header like this in Angular in the app.run()

$http.defaults.headers.common['Test'] = 'Foobar';

But I can't find the "Test" request parameter on the server. What's wrong?



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire