title: How to post HTTPS request using Retrofit?
body: <p>I build a restAdapter by this:</p>
  
  <pre><code>    return new RestAdapter.Builder()
              .setEndpoint("https://www.xyz.com/")
              .build()
              .create(SafeUserApi.class);
  </code></pre>
  
  <p>then in the SafeUserApi.class (which is an interface) I have:</p>
  
  <pre><code>public interface SafeUserApi {
      @POST("/api/userlogin")
      void getUserLogin(@Body UserserLogin userLogin, Callback&lt;LoginResult&gt; cb);
  }
  </code></pre>
  
  <p>But it does not work. Did I miss something? </p>
  
  <p>I tried with Postman and it works. But in my device it doesn't.</p>
  
  <p>I have these four library imported:</p>
  
  <pre><code>compile files('libs/okhttp-2.1.0.jar')
  compile files('libs/okhttp-urlconnection-2.1.0.jar')
  compile files('libs/okio-1.0.1.jar')
  compile files('libs/retrofit-1.8.0.jar')
  </code></pre>