} 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 {
response = builder.type(contentType).post(ClientResponse.class, serialize(body));
}
} else if ("PUT".equals(method)) {
builder.header("Lumify-CSRF-Token", this.csrfToken);