HTTPS/Client-authenticated: Difference between revisions

Content added Content deleted
m (→‎{{header|Phix}}: fixed libheader)
(implement in nim-lang)
Line 150: Line 150:
<lang Mathematica>a = RunThrough["curl -E myCert.pem https://www.example.com", 1]
<lang Mathematica>a = RunThrough["curl -E myCert.pem https://www.example.com", 1]
For[ i=0, i < Length[a] , i++, SomeFunction[a]]</lang>
For[ i=0, i < Length[a] , i++, SomeFunction[a]]</lang>

=={{header|Nim}}==
<lang nim>import httpclient, net
var client = newHttpClient(sslContext = newContext(certFile = "mycert.pem"))
var r = client.get("https://www.example.com")</lang>


=={{header|Perl}}==
=={{header|Perl}}==