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: ..."