Wget invoke a button

Hi

I have a certain URL(ABC TV Network - Shows, Episodes, Schedules & Programming - ABC.com) and I want to invoke a button (say abc) in it from BASH.

How should I do it using wget? Any help!

Thanks in advance

You can check the source of the page, send the submit input corresponding to the button with the wget request using --post-data option.

1 Like

The button is :

Reinitialize Topology

admin/admin I have to pass as user and pass

I hope this is fine:

*/10 * * * * wget --delete-after --http-user=admin --http-password=admin --post-data="submit=Reinitialize Topology" http://abc/xyz/DeploymentServer/