HTTPS: Difference between revisions
Rename Perl 6 -> Raku, alphabetize, minor clean-up
Thundergnat (talk | contribs) (Rename Perl 6 -> Raku, alphabetize, minor clean-up) |
|||
Line 585:
print $response->as_string;
</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}}==
Line 690 ⟶ 680:
(current-output-port))
</lang>
(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}}==
|