HTTPS: Difference between revisions

Content added Content deleted
(Rename Perl 6 -> Raku, alphabetize, minor clean-up)
Line 585: Line 585:
print $response->as_string;
print $response->as_string;
</lang>
</lang>

=={{header|Perl 6}}==
{{works with|Rakudo|2017.09}}
There are several modules that provide HTTPS capability. WWW and HTTP::UserAgent are probably the most popular right now, but others exist.

<lang perl6>use WWW;
say get 'https://sourceforge.net/';</lang>
or
<lang perl6>use HTTP::UserAgent;
say HTTP::UserAgent.new.get('https://sourceforge.net/').content;</lang>


=={{header|Phix}}==
=={{header|Phix}}==
Line 690: Line 680:
(current-output-port))
(current-output-port))
</lang>
</lang>

=={{header|Raku}}==
(formerly Perl 6)
{{works with|Rakudo|2017.09}}
There are several modules that provide HTTPS capability. WWW and HTTP::UserAgent are probably the most popular right now, but others exist.

<lang perl6>use WWW;
say get 'https://sourceforge.net/';</lang>
or
<lang perl6>use HTTP::UserAgent;
say HTTP::UserAgent.new.get('https://sourceforge.net/').content;</lang>


=={{header|REALbasic}}==
=={{header|REALbasic}}==