title: HttpInterceptor With HttpModule
body: <p>In my angular application (angular version 5), I am using <code>Http</code> from <code>@angular/http</code>. And also I am appending headers in a normal way like</p>
  
  <pre><code>getHeaders(){
    let headers = new Headers();
    headers.append('authorization', 'Bearer '+this.authToken);
    headers.append('Content-Type', 'application/json');
    return headers;
  }
  </code></pre>
  
  <p>Now I want to change this way and thought to use <code>HttpInterceptor</code>. As I know, We have to use it with <code>HttpClient</code> but in my angular application. I have used <code>Http</code> so far. Is there any way that we can implement <code>HttpInterceptor</code> with <code>Http</code>.</p>