PostMethod () { PostMethod method = new PostMethod(getUrl() + "/api.asp"); method.addParameter("cmd", "logon"); method.addParameter("email", getUsername()); method.addParameter("password", getPassword()); return method; }