title: Http Header In Angular 6
body: <p>This is my service i am using...
  Request header not showing any access authorization.</p>
  
  <pre><code>import { Injectable } from '@angular/core';
  import { HttpClient } from '@angular/common/http';
  import { HttpErrorResponse, HttpHeaders } from '@angular/common/http';
  import {Http, Headers, RequestOptions} from '@angular/http';
  
  import { Config } from "../config";
  
  
  @Injectable()
  export class HomeService {
  
     headers: any;
     options: any;
  
      constructor(private http: HttpClient) { 
          this.headers = new Headers({'Content-Type':'application/json'});
          this.headers.append('Authorization', 'Bearer ' + localStorage.getItem('userToken'));
          this.options = new RequestOptions({headers: this.headers});
     }
  
      getLoginUserDetails(){
           return this.http.post(Config.apiEndPoint + "get-login-user", { headers: this.options});
      }
  </code></pre>
  
  <p>}</p>
  
  <p>Is there any solution let me know.</p>