'
' Get a website over HTTP and dump onscreen using CURL - PvE december 2010
'

' Include the CURL context
INCLUDE "curl.bac"

' Create the handle
easyhandle = curl_easy_init()

' Set the options
curl_easy_setopt(easyhandle, CURLOPT_URL, "http://www.basic-converter.org/")

' Perform the GET
success = curl_easy_perform(easyhandle)

' Cleanup
curl_easy_cleanup(easyhandle)

' Print Curl version
PRINT NL$, "Using CURL version: ", curl_version$(), NL$