Account


Earned badges

Achievement: Latest Unlocked

Topic Started

Topics
I'm trying to get the pdf file via php using curl but I get nothing returned. When I do the same in Postman I get the PDF file. Here is my php code
$headers = array('Content-Type: application

Replies Created

Reply to: Get PDF with curl returns nothing

0 votes
Thank you for the help. The problem was with the SSL . Simply adding this line fixed the problem curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);

Subscriptions

Topics Replies Freshness Views Users
I'm trying to get the pdf file via php using curl but I get nothing returned. When I do the same in Postman I get the PDF file. Here is my php code
$headers = array('Content-Type: application
3 7 years 7 months ago 2,163
Profile picture for user mwilliams
3 7 years 11 months ago 17
Profile picture for user harishaidary

Code Share

This user has not submitted any code shares.

Subscriptions Release Notes

This user is not subscribed to any release notes.