RosettaCodeData/Task/HTTPS-Authenticated/Lasso/https-authenticated.lasso

6 lines
177 B
Text
Raw Permalink Normal View History

2016-12-05 23:44:36 +01:00
local(username = 'hello',password = 'world')
local(x = curl('https://sourceforge.net'))
#x->set(CURLOPT_USERPWD, #username + ':' + #password)
local(y = #x->result)
#y->asString