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

Transition from Http.QuickRequestParams to Http.HttpParams

Provides instructions for replacing deprecated QuickRequestParams method calls with HttpParams.

Chilkat AutoIt Downloads

AutoIt
Local $bSuccess = False

$oHttp = ObjCreate("Chilkat.Http")

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

$oJson = ObjCreate("Chilkat.JsonObject")
$oJson.UpdateInt("param1",100)
$oJson.UpdateString("param2","test")

;  ------------------------------------------------------------------------
;  The QuickRequestParams method is deprecated:

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

;  ...
;  ...

;  ------------------------------------------------------------------------
;  Do the equivalent using HttpParams.
;  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.HttpParams($sVerb,$sUrl,$oJson,$oResponseOut)
If ($bSuccess = False) Then
    ConsoleWrite($oHttp.LastErrorText & @CRLF)
    Exit
EndIf