ClientResponse response = null;
if ("GET".equals(method)) {
response = (ClientResponse) builder.get(ClientResponse.class);
} else if ("POST".equals(method)) {
builder.header("Lumify-CSRF-Token", this.csrfToken);
if (body == null) {
response = builder.post(ClientResponse.class, serialize(body));
} else if (body instanceof FormDataMultiPart) {
response = builder.type(contentType).post(ClientResponse.class, body);
} else {