Sample code for 30+ languages & platforms
AutoIt Requires Chilkat v11.0.0+

Transition from Http.QuickPutStr to Http.HttpNoBody

Provides instructions for replacing deprecated QuickPutStr method calls with HttpNoBody.

Chilkat AutoIt Downloads

AutoIt
Local $bSuccess = False

$oHttp = ObjCreate("Chilkat.Http")

;  ...
;  ...

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

;  ------------------------------------------------------------------------
;  The QuickPutStr method is deprecated:

Local $sResponseBody = $oHttp.QuickPutStr($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("PUT",$sUrl,$oResponseOut)
If ($bSuccess = False) Then
    ConsoleWrite($oHttp.LastErrorText & @CRLF)
    Exit
EndIf

$sResponseBody = $oResponseOut.BodyStr