I am trying to automate a login to a website by replicating the HTTP POST request with wget. I don't really need the response data, not to mention that waiting for all of it increases the execution time of the cronjob.
I have tried to limit the amount of data I get back from server by sending a
HTTP header, but apparently I'm doing it wrong, since I'm still getting hundreds of kilobytes of HTML content which I don't need.
How do I do it the right way?