/**
  * posts the requests to the server, with all the cookies and parameters that were added before
  * (if any), and with cookies and parameters that are passed in the arguments
  *
  * @param cookies request cookies
  * @param parameters request parameters
  * @return input stream with the server response
  * @throws IOException
  * @see setParameters
  * @see setCookies
  */
 public InputStream post(String[] cookies, Object[] parameters) throws IOException {
   setCookies(cookies);
   setParameters(parameters);
   return post();
 }
 /**
  * posts the requests to the server, with all the cookies and parameters that were added before
  * (if any), and with cookies and parameters that are passed in the arguments
  *
  * @param cookies request cookies
  * @param parameters request parameters
  * @return input stream with the server response
  * @throws IOException
  * @see setParameters
  * @see setCookies
  */
 public InputStream post(Map cookies, Map parameters) throws IOException {
   setCookies(cookies);
   setParameters(parameters);
   return post();
 }