note 96315 added to curl.examples
| From: | William at crandell dot ws | Date: | Fri, 19 Feb 2010 23:11:25 +0000 |
| Subject: | note 96315 added to curl.examples | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-166200@lists.php.net to get a copy of this message | ||
I have found that cURL is pretty easy to use overall. Though I have noticed that many have tried
and struggled with using cURL and getting a ASP.NET or .aspx form/ page to give back a response. I
am included in the people who have struggled.
To note it seems to be something with the way the form authenticates.
From what I have seen and gathered ASP.NET has a "postback" function using AJAX,
__EVENTTARGET, __EVENTARGUMENT and viewstate. That is where you need to start and make use of the
post option with cURL.
Though I do not have an example to offer, I understand that you may need to do more than 1 curl
session to complete everything. One to post and one to get.
----
Server IP: 192.41.40.227
Probable Submitter: 64.129.112.99
----
Manual Page -- http://www.php.net/manual/en/curl.examples.php
Edit -- https://master.php.net/note/edit/96315
Del: integrated -- https://master.php.net/note/delete/96315/integrated
Del: useless -- https://master.php.net/note/delete/96315/useless
Del: bad code -- https://master.php.net/note/delete/96315/bad+code
Del: spam -- https://master.php.net/note/delete/96315/spam
Del: non-english -- https://master.php.net/note/delete/96315/non-english
Del: in docs -- https://master.php.net/note/delete/96315/in+docs
Del: other reasons-- https://master.php.net/note/delete/96315
Reject -- https://master.php.net/note/reject/96315
Search -- https://master.php.net/manage/user-notes.php