HTTPS: Difference between revisions

344 bytes added ,  5 years ago
Line 622:
<lang perl6>use HTTP::UserAgent;
say HTTP::UserAgent.new.get('https://sourceforge.net/').content;</lang>
 
=={{header|Phix}}==
{{libheader|libcurl}}
Exactly the same as the [[HTTP#Phix]] task.
<lang Phix>include builtins\libcurl.e
curl_global_init()
atom curl = curl_easy_init()
curl_easy_setopt(curl, CURLOPT_URL, "https://sourceforge.net/")
object res = curl_easy_perform_ex(curl)
curl_easy_cleanup(curl)
curl_global_cleanup()
puts(1,res)</lang>
 
=={{header|PHP}}==
7,805

edits