Instantly share code, notes, and snippets.

@wKoza /get.ts Secret
Created Aug 10, 2017

Embed
What would you like to do?
const params = new HttpParams().set('id', '13');
Observable<Article> article$ = this.http.get<Article>('api.learn-angular.fr/article', {params});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment