I am trying to login to a website using wget like this:
wget --save-cookies=cookie.txt --post-data "Login Id=test&password=xxx" http://url
and I get the contents of the login screen and not the screen after that. I do not even know if it has logged in.
I used "Login Id=" because thats the name of that field in the page.
I also tried
wget -d --http-user=test --http-passwd=xxx http://url
and I get the same page.
I want to
a) ensure that I am logged in
b) get the page post login.
Any help is greatly appreciated.