Thanks a ton, but it appears to be having problems posting for some reason. I have all of my post data working and everything, it's saying it's having a problem at this line of HTTPRequest.java:
Code:
BufferedReader reader = new BufferedReader(new InputStreamReader((InputStream)URLConnection.getInputStream()));
Not sure why.
I was using this to check for a login success:
Code:
request.setURL("http://www.gaiaonline.com/auth/login/");
String login = request.post("", postdata);
if (login.contains("login_success")) {
System.out.println("Logged in successfully!");
}
else {
System.out.println("Login Failed!");
}
But I'm getting an error because the string login is null, it doesn't contain any data because there's something wrong with the actual POST haha. Thanks for updating this though, it's going to be super helpful to me once we can get all of these bugs ironed out.