Send POST request to URL

There is an asp page where I enter my Rollno and click submit, the next page shows my result. Below is the source of the page form.

<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, so I want to scroll through all the roll numbers to see my position. But I can not do this by writing search.asp? Rollno = 123456

How to send a request through a url so that I can iterate over all numbers?

+3
source share
1 answer

An HTTP POST request cannot be sent using only the URL. (Except in the special case where there are no form fields and that the server does not care about the header Content-type.)

, wget curl, GET POST.

+5

Source: https://habr.com/ru/post/1786005/


All Articles