title: Retrofit HTTPBasicAuthentication
body: <p>How do I pass the username and password in <a href="http://square.github.io/retrofit/" rel="nofollow noreferrer">Retrofit</a> This is how I am currently doing it and it isn't working (I have a null result):</p>
  
  <pre><code>@Headers("Authorization: Basic user:password")
  @GET("EleRepository/{ele}")
    Call&lt;Integer&gt; getTotal(@Path("ele") Integer ele);
  </code></pre>