private void setUpRestClient() { OkHttpClient client = new OkHttpClient(); client.interceptors().add(new Interceptor() { @Override pu
You can pass Authorization Header as:
@GET("/v1/OrderReport.json") Call<POJO_Class> getExampleMethod(@Header("Authorization") String token, @Query("id") String id);
and then call as:
getExampleMethod("Basic " + token, id);