I am trying to automate the process of downloading data from my univ. webpage. I need to submit the form in the URL below.
http://202.88.252.21/CuPbhavan/res_newregentry.php?id=4789
An inspection of the page's source reveals that the input-names for the two form-fields to be filled out and submitted by the user are 'varno' and 'sum'. The form uses 'POST' method for submission
What complicates matters is the fact that the 'sum' is dynamic. ie. each time the browser is refreshed, a new set of numbers for the 'fst' and 'snd' fields/ids are generated through a random number function. A checksum() is executed and only then the server honours the request and lets you download the data.
I would like to automate this process. The page's source-code detailing the javascript/AJAX functions used along with the field-names, ids etc. is shown below.
I'd really appreciate any help on this.