Angular 5, httpclient ignores set cookie in post
问题 I'm dealing with HttpClient in Angular 5, the problem is the cookie sent by the server during login process, it seems that Angular is ignoring it because next request with "withCredentials" is not setting it. My package.json .... "@angular/cli": "1.6.3", "@angular/compiler-cli": "^5.0.0", "@angular/language-service": "^5.0.0", .... my code makeLogin (us:string, password:string): Observable<any> { let body : any = new HttpParams() .set('username', us) .set('password', password); return this