if( message != null && message.content != null ) {
request.setEntity(new StringEntity(message.content, ContentType.create(message.contentType.toString(), "UTF-8")));
}
HttpResponse httpResponse = httpClient.execute(request);
ApiResponse apiResponse = readResponse(httpResponse);
request.releaseConnection();
return apiResponse;
}
public ApiResponse post(String requestURL, ApiRequest message) throws IOException, SignatureException {
log.debug("POST url: {}", requestURL);