I know how to make curl from http to https but I can't do it from https to http server ?
here is my req address in nodejs without ssl http://printer-manager.cafe-viuna.com/abc/?clinet_id=999&printer_id=p1&url=https://viunaorder.avishost.com/pdf/18217.pdf
but I can't send it from a ssl page , thank you very much .
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, 'http://printer-manager.cafe-viuna.com/abc/?clinet_id=47&printer_id=p1&url=https://viunaorder.avishost.com/pdf/18217.pdf');
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true);
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 1); // On dev server only!
$result = curl_exec($ch);
print_r($result);