Answer the question
In order to leave comments, you need to log in
PHP and Curl stopped displaying SSL correctly?
The meaning is simple:
curl_setopt($ch, CURLOPT_URL, $this->apiurl);
curl_setopt($ch, CURLOPT_POST, 1);
curl_setopt($ch, CURLOPT_POSTFIELDS, $data_string);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
//curl_setopt($ch, CURLOPT_HEADER, true);
//curl_setopt($ch, CURLOPT_CERTINFO, true);
curl_setopt($ch, CURLOPT_HTTPHEADER, $this->header);
curl_setopt($ch, CURLOPT_TIMEOUT, '60');
HTTP/1.1 200 OK
Cache-Control: max-age=0, s-max-age=0, no-cache, no-store, private
Content-Encoding: gzip
Content-Type: application/json
Date: Sun, 30 Oct 2016 13:04:17 GMT
Expires: Sun, 30 Oct 2016 13:04:17 GMT
Last-Modified: Sun, 30 Oct 2016 13:04:17 GMT
Pragma: no-cache
Strict-Transport-Security: max-age=31536000; preload
Vary: Accept-Encoding
Content-Length: 27
Connection: keep-alive
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question