[AutoIt] A nice AutoIt http wrapper I found
This is an extremely nice and simple http wrapper I found for AutoIt, and you can even set headers and all of that.
Credit goes to whoever wrote it, I have no idea who.
$oHTTP = ObjCreate("winhttp.winhttprequest.5.1")
ConsoleWrite(_HTTPRequest($oHTTP, "GET", "http://google.com") & @CRLF)
Func _HTTPRequest($oHTTP, $oMethod, $oURL, $oData = "")
$oHTTP.Open($oMethod, $oURL, False)
If $oMethod = "POST" Then $oHTTP.SetRequestHeader("Content-Type", "application/x-www-form-urlencoded")
$oHTTP.Send($oData)
Return $oHTTP.ResponseText
EndFuncCredit goes to whoever wrote it, I have no idea who.
