There is an asp page on which i enter my Rollno and press submit, next page shows my result. Below is the source of form of the page.
<form name="form1" method="post" action="Result.asp">
<input name="Rollno" type="text" id="RollNo" size="15" maxlength="15">
<input type="submit" name="Submit" value=" Search " onClick="return num();">
</form>
There is no way to see the result for all students therefore i want to loop through all roll numbers to see my position. But i am unable to do it by writing search.asp?Rollno=123456
How to send the request via url so that i can loop through all numbers?
An HTTP POST request cannot be sent by using just an URL. (Except for the special case that there are no form fields and that the server doesn't care about the Content-type header.)
You should use an external program like wget or curl, which both can send either GET or POST requests.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With