Level 34
@uniqueginun did you change your request to POST method like curl_setopt($ch, CURLOPT_POST,1);?
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
I'm trying to send a .cer file with my curl request and something is just now working. I don't know if something is wrong with my code or what
if(file_exists( 'certificate.cer')) {
curl_setopt($ch, curlopt_cainfo, 'certificate.cer'));
}
but I got CURL error 56
Please or to participate in this conversation.