I have a java class which attempts to autologin to a website. The status code shows 200 OK and I read the 200OK is for successful HTTP requests and In a POST request that I use, the response will contain an entity describing or containing the result of the action.
But the response I get is still the html of the signin page not the logged in page. This tells me that I'm not successfully logged in.
What are the possibilities for this to go wrong?
Open Firefox, install LiveHTTPHeaders extension, record the login process inside the browser, make sure you can correctly replay it.