I am trying to get some data from a website where you need to have a SSL certificate to be able to connect to it. I have found the following code :
// create curl
can you try like this? echo $str = file_get_contents("https://jsonplaceholder.typicode.com/todos/1");