Re: [fpc-pascal] HTTPS with fphttpclient

2017-08-30 Thread Michael Van Canneyt
On Tue, 29 Aug 2017, kristakis wrote: Hi, I'd like to make a request to a HTTPS address with TfpHTTPClient but am getting an unknown protocol error. I'm running fpc 2.6.4 on Rasbian 8 (Jessie) on a Pi 3. Here's the source code: You need version 3.0.2 or 3.0.0 for this to work. Michael.

[fpc-pascal] HTTPS with fphttpclient

2017-08-29 Thread kristakis
Hi, I'd like to make a request to a HTTPS address with TfpHTTPClient but am getting an unknown protocol error. I'm running fpc 2.6.4 on Rasbian 8 (Jessie) on a Pi 3. Here's the source code: program test2; {$mode objfpc}{$H+} uses fphttpclient; begin WriteLn(TFPHTTPClient.SimpleGet('http://w