code: public byte[] postBytes(byte[] content) throws IOException {
  
          if (!connection.isOpen())
              connection.open();
  
          connection.prepare("POST");
  
          OutputStream os = connection.getOutputStream();
          os.write(content);
  
          response = connection.readInput();
          os.close();
          return getResponseBytes();
      }
docs: Perform an HTTP POST request to the URL.
  @param content string containing the content to be posted
  @return string containing the response from the server