Add tasks for all the new languages
This commit is contained in:
parent
9dc3c2bb62
commit
bba7bfd280
13208 changed files with 134745 additions and 0 deletions
10
Task/HTTPS/Lingo/https-1.lingo
Normal file
10
Task/HTTPS/Lingo/https-1.lingo
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
ch = xtra("Curl").new()
|
||||
CURLOPT_URL = 10002
|
||||
ch.setOption(CURLOPT_URL, "https://sourceforge.net")
|
||||
res = ch.exec(1)
|
||||
if integerP(res) then
|
||||
put "Error:" && curl_error(res)
|
||||
else
|
||||
put "Result:" && res.readRawString(res.length)
|
||||
end if
|
||||
-- "Result: <!doctype html> ..."
|
||||
Loading…
Add table
Add a link
Reference in a new issue