code: public static String doPOST(final URL url, final Properties requestProps, final Integer timeout, final String encodedData,
              boolean includeHeaders, boolean ignoreBody) throws IOException {
          HttpURLConnection conn = (HttpURLConnection) url.openConnection();
          setRequestProperties(requestProps, conn, timeout);
          sendPostData(conn, encodedData);
          return parseHttpResponse(conn, includeHeaders, ignoreBody);
      }
docs: Do a http post request and return response
  
  @param url target url
  @param requestProps props to be requested
  @param timeout connection timeout
  @param includeHeaders whether to include headers or not
  @param ignoreBody whether to ignore body content or not
  @return server answer
  @throws IOException on any connection