I am trying to achieve a successful POST to an ASPX (ASP.NET) page (an external site) using cURL.
Since I don't care much for the looks of the page (it is all done on the server side), I am not sending ANY the arguments
__VIEWSTATE
, __EVENTVALIDATION
, __EVENTTARGET
, and __EVENTARGUMENT
, not even empty, but I do send the real data.
How crucial is it to POST these arguments to the ASP.NET server?
I am not an ASP.NET programmer, but I might suspect that __EVENTVALIDATION
might give me some hard time here(?). Or is this something between the browser and the server that I don't need to care much for?
If this is crucial, how can I imitate these variables so the server accepts POSTS?