HTTPS/Authenticated: Difference between revisions
→{{header|Lasso}}: adding Lasso HTTPS Authenticated example
(→{{header|Lasso}}: adding Lasso HTTPS Authenticated example) |
|||
Line 165:
fmt.Println(string(b))
}</lang>
=={{header|Lasso}}==
<lang Lasso>local(username = 'hello',password = 'world')
local(x = curl('https://sourceforge.net'))
#x->set(CURLOPT_USERPWD, #username + ':' + #password)
local(y = #x->result)
#y->asString</lang>
=={{header|Mathematica}}==
|