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?



from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/1R4wBMm
via IFTTT

Aucun commentaire:

Enregistrer un commentaire