title: Retrofit request Header with params
body: <p>I want to make a request with two headers in an Android app, the first one has a parameter. I tried this:</p>
  
  <pre><code>  @Headers("Content-Type: application/json")
  @GET("/ebuzon/client/show")
  Call&lt;Client&gt; showClient(@Header("Authorization") String token);
  
   call = api.showClient(" Bearer " +MySharedUser.getInstance().getToken());
  </code></pre>
  
  <p>401 UNATHORIZED</p>
  
  <p><b>Edited: this should work, see @Robert answer. My problem was also updating token</b></p>
  
  <pre><code> @GET("/ebuzon/client/show")
  Call&lt;Client&gt; showClient(@Header("Authorization") String token,
                          @Header("Content-Type") String appJson);
  
   call = api.showClient(" Bearer" +MySharedUser.getInstance().getToken(), "application/json");
  </code></pre>
  
  <p>401 UNATHORIZED</p>
  
  <pre><code>@Headers({"Authorization: Bearer {token}","Content-Type: application/json"})
  @GET("/ebuzon/client/show")
  Call&lt;Client&gt; showClient(@Path("token") String token);
  </code></pre>
  
  <p>IllegalArgumentException: URL "/ebuzon/client/show" does not contain "{token}". (parameter #1)</p>
  
  <p><b>I am doing the same in angular like this and it's working</b></p>
  
  <pre><code>var obj = this.http.get("/ebuzon/client/show",
       {headers: new HttpHeaders().set("Authorization", " Bearer "+ this.token).append("Content-Type","application/json")})
          .map(res =&gt; {
              console.log(res);
              return res
          })
          .catch(err =&gt; {
              console.log(err);
              return err;
          })
      return obj;
  </code></pre>
  
  <p>Thanks for any help.</p>