curl-and-php
Unable to post to ASP.NET page
Date: Fri, 21 Jul 2006 07:59:39 -0700 (PDT)
I tried posting data along with the viewstate to the below ASP.NET page.
The page always gets redirected to the error page and never gives me the
correct result page. I am newbie to CURL, please help
Thank you very much for the help,
AN
curl -d
"__EVENTTARGET=&__EVENTARGUMENT=&itinerary=rdoOneway&cmbBookingF=DEL&cmbBookingT=BOM&ObDateCal=urlencode('26/07/2006')&cmbBookingClass=Lowest&cmbBookingAdult=1&cmbBookingChild=0&cmbBookingInfant=0&__VIEWSTATE=dDw1NTAyNDkxODg7dDw7bDxpPDE+O2k8Mz47PjtsPHQ8O2w8aTwxMT47aTwxMz47aTwxNT47aTwxNz47aTwxOT47aTwyMT47PjtsPHQ8cDxsPFZpc2libGU7PjtsPG88Zj47Pj47Oz47dDxwPGw8VmlzaWJsZTs+O2w8bzxmPjs+Pjs7Pjt0PHA8bDxWaXNpYmxlOz47bDxvPGY+Oz4+Ozs+O3Q8cDxsPFZpc2libGU7PjtsPG88Zj47Pj47Oz47dDxwPGw8VmlzaWJsZTs+O2w8bzxmPjs+Pjs7Pjt0PHA8cDxsPEltYWdlVXJsO1Rvb2xUaXA7PjtsPC9zMnYxL2ltZy9Db3VudHJ5RmxhZ3MvSU4uZ2lmO1lvdSBhcmUgYnJvd3NpbmcgZnJvbSBJbmRpYTs+Pjs+Ozs+Oz4+O3Q8O2w8aTwxPjtpPDU+O2k8MTI+O2k8MTQ+O2k8MTY+O2k8MTg+O2k8Mzg+O2k8NTY+O2k8NTg+O2k8NjQ+O2k8NzI+O2k8NzY+O2k8Nzg+Oz47bDx0PHA8bDxWaXNpYmxlOz47bDxvPGY+Oz4+Ozs+O3Q8O2w8aTwwPjs+O2w8dDxAMDxwPHA8bDxfIUl0ZW1Db3VudDtEYXRhS2V5czs+O2w8aTwzPjtsPD47Pj47Pjs7Ozs7Ozs7PjtsPGk8MT47aTwyPjtpPDM+Oz47bDx0PDtsPGk8MD47PjtsPHQ8QDxEZWxoaSAtIENoaWN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oz47Pj47Pj47bDxidG5Db3Ntb3NTdWJtaXQ7cmRvUmV0dXJuO3Jkb09uZXdheTtyZG9PbmV3YXk7YnRuQm9va2luZ1N1Ym1pdDtidG5DaGVja2luU3VibWl0O2J0bkZsaWdodFN0YXR1cztidG5zZW5kTWFpbDtidG5OZXdzTGV0dGVyU3VibWl0O2J0bk1vYmlsZVN1Ym1pdDtidG5GYXJlU3VibWl0O2J0bkhvbGlkYXlTdWJtaXQ7Pj4vbCYtgPJeNuIT8seQPMmRvOWlvg=="
http://www.airsahara.net/s2v1/Default.aspx
_______________________________________________
http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-and-php
Received on 2006-07-21