Forums

CURL plugin problem!! urgent

kurt2000 30 Jul, 2010
i am getting empty response

in debug it says


cf_CURL debug info
$curl_values: mail=kurtulusaltun%40msn.com&userid=63&pvrt=14531453&lat=28.933219&lng=41.0095516
$params->target_url: http://www.adrrapor.com/default.aspx
$ch: Resource id #139
CURL response: HTTP/1.1 200 OK Date: Fri, 30 Jul 2010 16:23:26 GMT Server: Microsoft-IIS/6.0 X-Powered-By: ASP.NET X-Powered-By: PleskWin X-AspNet-Version: 2.0.50727 Cache-Control: private Content-Type: text/html; charset=utf-8 Content-Length: 634 IP Adres:109.232.216.100
Lat :
Lng :
mail :
userid : 0
pvrt :



it takes only ip adress control what is problem
nml375 30 Jul, 2010
Hi,
As far as I can tell, the error is with the remote script, not the Curl setup. Manually submitting the very same data (to that url) renders the same result (different IP as my host is located elsewhere though).

/Fredrik
GreyHead 30 Jul, 2010
Hi kurt2000,

I can get the remote script to respond to a URL, but not to cURL. It could be that some other CURLOPT needs to be set?? Are there any help documents for this process?

Bob
nml375 30 Jul, 2010
Hi,
Upon further inspection, it would seem this ASP application expects URL-embedded ("GET-style") form data, not as a POST-request. If this is the way the application is expected to be used, then your best option would probably be to use the Redirect CFPlugin.

/Fredrik
GreyHead 31 Jul, 2010
Hi,

Just as a footnote. I did try configuring the cURL options to force either POST or GET but neither worked. (I am not a cURL expert though so something else may be required.)

Bob
kurt2000 01 Aug, 2010
ok thanks a lot we did it. just beacuse get-post prosedure. remote script was get and now its post...

thaks
This topic is locked and no more replies can be posted.