Jump to content


  • Posts

  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

ChadP's Achievements


Newbie (1/14)



  1. I've created a token and played around with swagger with success. When I try to make the same, simple request from a website using php curl, I get the following message: Error: "Unknown SSL protocol error in connection to xxxxxxxx.caspio.com:443 " - Code: 35 I'm including the bearer token in the header. Here is my code: $ch = curl_init(); curl_setopt($ch, CURLOPT_URL,"https://xxxxxxxx.caspio.com/rest/v2/tables"); curl_setopt($ch, CURLOPT_HTTPHEADER, array( 'accept: application/json', 'Authorization: bearer '.$variable_containing_my_token )); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); $response = curl_exec($ch); if( $response === false ){ echo 'Error: "' . curl_error($ch) . '" - Code: ' . curl_errno($ch); } curl_close ($ch); What does this error indicate? Should I be making this request another way? Thanks! **********************ANSWER******************** If you run into this error you are probably running on an older server. I've tested my code on a newer server and it works great. I'm suspect I need an updated version of CURL or need to update NSS.
  • Create New...