http = CreateHTTPConnection() SetHTTPHost( http, "www.appgamekit.com", 0 ) SendHTTPRequestASync( http, "agktest/itworks.html" ) while GetHTTPResponseReady(http) = 0 Print( "Connecting..." ) Sync() endwhile response$ = GetHTTPResponse(http) CloseHTTPConnection(http) DeleteHTTPConnection(http) // main loop do Print( "Server response: " + response$ ) Sync() loop