Sometimes you need to log in to some webpage programmatically. I ran into one ofthose pages where, when the login succeeds, you’re being redirected to anotherpage, and then to another (something along the lines of ‘Please login’ -> ‘Youare successfully logged in’ -> ‘Admin panel’). So I needed to write somethingthat would store the cookies that come along with each response, and send thosecookies out with each subsequent request. With curl, I would have used: $ curl --location -...