-
Notifications
You must be signed in to change notification settings - Fork 151
Open
Description
change your code like this
getProfile(){
let headers = new Headers();
this.loadToken();
headers = headers.append('Autherization', this.authToken);
headers = headers.append('Content-Type', 'application/json');
return this.http.get('http://localhost:3000/users/profile',{headers: headers})
.map(res => res.json());
Originally posted by @DilshanDilipudara in #7 (comment)
Metadata
Metadata
Assignees
Labels
No labels