I try to set an Authorization header to a GET request to authenticate users to a rest API. I\'m using Angular 2 RC1. (I\'am a total beginner).
getTest(){ let
autorization = { Authorization: 'Token adfasdfadf651f65asd1f65asdf' } this.http.get(url, { headers: autorization})