Sample code for 30+ languages & platforms
AutoIt

Transition from Http.QuickGetObj to Http.HttpNoBody

Provides instructions for replacing deprecated QuickGetObj method calls with HttpNoBody.

Chilkat AutoIt Downloads

AutoIt
Local $bSuccess = False

$oHttp = ObjCreate("Chilkat.Http")

Local $sUrl = "https://example.com/"

; ------------------------------------------------------------------------
; The QuickGetObj method is deprecated:

Local $oResponseObj = $oHttp.QuickGetObj($sUrl)
If ($oHttp.LastMethodSuccess = False) Then
    ConsoleWrite($oHttp.LastErrorText & @CRLF)
    Exit
EndIf

; ...
; ...

; ------------------------------------------------------------------------
; Do the equivalent using HttpNoBody.
; Your application creates a new, empty HttpResponse object which is passed 
; in the last argument and filled upon success.

$oResponseOut = ObjCreate("Chilkat.HttpResponse")
$bSuccess = $oHttp.HttpNoBody("GET",$sUrl,$oResponseOut)
If ($bSuccess = False) Then
    ConsoleWrite($oHttp.LastErrorText & @CRLF)
    Exit
EndIf