HTTPS: Difference between revisions

347 bytes added ,  6 years ago
added Pascal
No edit summary
(added Pascal)
Line 506:
}
</lang>
 
=={{header|Pascal}}==
{{works with|Free Pascal}}
Using [http://wiki.freepascal.org/fphttpclient fphttpclient]
<lang pascal>{$mode objfpc}{$H+}
uses fphttpclient;
 
var
s: string;
hc: tfphttpclient;
 
begin
hc := tfphttpclient.create(nil);
try
s := hc.get('https://www.example.com')
finally
hc.free
end;
writeln(s)
end.</lang>
 
=={{header|Perl}}==