I'm receiving some emails that contain a link that invokes a page with two buttons, I'm trying to see if I could use wget to auto click on such button:
I get email with link like so: http://secure.dom.tld/abc/xyz?token=QUEzYt67RetyMldX looking at web page, it has, in section with the buttons: <form method="post"> <input data-val="true" data-val-number="Id must be a number." data-val-required="Id is required." id="Id" name="Id" type="hidden" value="64" /> <input data-val="true" data-val-number="Order must be a number." data-val-required="Order is required." id="Order" name="Order" type="hidden" value="74590" /> ....//.... <div class="row"> <input type="submit" class="btn btn-danger btn-lg col-md-5" value="Not Available" name="submitAction"/> <div class="col-md-2"></div> <input type="submit" class="btn btn-success btn-lg col-md-5" value="Available" name="submitAction" /> </div> is there a way to run wget with that url and, tell it to 'press' one of the buttons? thanks for any pointer or advice V