Skip to content

Instantly share code, notes, and snippets.


wKoza/get_header.ts Secret

Created Aug 10, 2017
What would you like to do?
const headers = new HttpHeaders().set('Authorization', 'my-auth-token');
Observable<Article[]> article$ = this.http.get<Article[]>('', {headers});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.