Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- signIn(signInRequest: SignInRequest): Observable<SignInResponse> {
- let headers: Headers = new Headers();
- headers.append('Content-Type','application/json');
- return this.http
- .post("/login", {email: signInRequest._email,password:signInRequest._password}, { headers: headers, withCredentials: true })
- .map(this.extractData)
- .catch(this.handleErrorObservable);}
Add Comment
Please, Sign In to add comment