code: public static String postResponseAsString(String uri, Header header,
              HttpEntity httpEntity) {
          HttpPost httpPost = new HttpPost(uri);
          httpPost.setHeader(header);
          httpPost.setEntity(httpEntity);
          return request(httpPost);
      }
docs: Post response as string string.
  
  @param uri        the uri
  @param header     the header
  @param httpEntity the http entity
  @return the string