Skip to main content
Published: February 17 2005, 5:47:00 PMUpdated: July 20 2022, 12:29:16 PM

I am getting a Null response when making SOAP calls using CURL

The solution is to set the following option:

curl_easy_setopt(curl, CURLOPT_SSL_VERIFYPEER, false);

This applies to PHP 4.x and 5.x.

cURL PHP documentation is available here : http://us3.php.net/manual/en/ref.curl.php

 

How well did this answer your question?
Answers others found helpful

Got thoughts? Click the feedback button – your insights help us improve!