1234567891011121314151617181920 |
- SuperStrict
- ' A simple example which outputs the contents of a URL to the console.
- ' Also outputs debug info.
- '
- Framework Net.libcurl
- Import BRL.StandardIO
- Local curl:TCurlEasy = TCurlEasy.Create()
- curl.setOptInt(CURLOPT_VERBOSE, 1)
- curl.setOptInt(CURLOPT_FOLLOWLOCATION, 1)
- curl.setOptString(CURLOPT_URL, "blitzmax.org")
- Local res:Int = curl.perform()
- curl.cleanup()
|