new AuthScope(apiURL.getHost(), apiURL.getPort(),
AuthScope.ANY_REALM),
new UsernamePasswordCredentials(mUser, mPassword));
BasicHttpContext localcontext = new BasicHttpContext();
localcontext.setAttribute("preemptive-auth", new BasicScheme());
httpClient.addRequestInterceptor(new PreemptiveAuth(), 0);
HttpPost request = new HttpPost(url);
ObjectMapper mapper = new ObjectMapper();
StringEntity params = new StringEntity(mapper.writeValueAsString(new Body(body)));
request.addHeader("Content-Type", "application/json");
request.setEntity(params);