Access https page via Http Client - Cakephp 3.6


#1

Hi all,

I want to read data from the following page https://www.mytischtennis.de/clicktt/ByTTV/18-19/ligen/Herren-Verbandsliga-Suedost-Bayerischer-TTV-/gruppe/322991/mannschaft/2080458/FC-Teisbach/spielerbilanzen/vr.

Unfortunately I am not able to get a response using the approach shown in the documentation:

use Cake\Http\Client;
$http = new Client();
$http->get(‘Linkfromabove’);

If I save the page manually in my webroot and access the page then it works just fine.

Are there any settings required for SSL (https)?

Thanks and best regards
JoSom