in reply to Out of milk website via WWW::Mechanize

You're trying to send your credentials as HTTP authentication, which the website probably doesn't support. I haven't looked, but it probably uses aweb form to log in. Use your browser's inspector to observe what happens when you log in, and then automate that.

-Thomas
"Excuse me for butting in, but I'm interrupt-driven..."
  • Comment on Re: Out of milk website via WWW::Mechanize

Replies are listed 'Best First'.
Re^2: Out of milk website via WWW::Mechanize
by bigswifty00000 (Beadle) on Dec 30, 2016 at 22:00 UTC

    Thanks for the reply.

    Yea, that was just one of the things I attempted. It is a web form, and I used a post, but get a 404 error when it posts to a url https://outofmilk.com/action which doesn't exist, and doesnt make it to 'http://outofmilk.com/ShoppingList.aspx?signin=1' which is where I'm trying to get to.