OkHttp

OkHttpClient client = new OkHttpClient();

Request request = new Request.Builder()
  .url("http://blizzcmsv2.fixcore.fx/api/ApiAccount/user/5") //this is my website url
  .get() //method
  .addHeader("content-type", "multipart/form-data; boundary=---011000010111000001101001")
  .addHeader("x-api-key", "MYCODE@123") //this is my Api key
  .addHeader("authorization", "Basic MYCREDENTIAL") //this is my credential
  .build();

Response response = client.newCall(request).execute();