Skip to main content
Published: February 17 2005, 5:47:00 PMUpdated: November 28 2020, 1:21:14 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