You can fill ASP.NET web forms from python or any other programming language. The format of this message should be simply Content-type: application/x-www-form-urlencoded
- urlencoding to POST data is done by default by requests package, so you should not add additional urlencode yourself.
To be successful with ASP.NET web forms automation you should know that as always you have to handle cookies properly (using requests
session will be enough), but also send back hidden input fields called __VIEWSTATE
and __EVENTVALIDATION
. You can can find additional information here and check example of working code here.