guides:com:winhttp.winhttprequest

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
guides:com:winhttp.winhttprequest [2022-02-27 15:06] – ↷ Page moved from ahk:com:winhttp.winhttprequest to guides:com:winhttp.winhttprequest geekguides:com:winhttp.winhttprequest [2022-02-27 15:52] (current) – Update code boxes for syntax highlighting geek
Line 8: Line 8:
 ===== Usage ===== ===== Usage =====
  
-<code ahk>+<code AutoHotkey>
 WinHTTP := ComObjCreate("WinHttp.WinHttpRequest.5.1") WinHTTP := ComObjCreate("WinHttp.WinHttpRequest.5.1")
 WinHTTP.Open(<Method>, <URL>, false) WinHTTP.Open(<Method>, <URL>, false)
Line 18: Line 18:
 ==== Fetch current AHK_L version number ==== ==== Fetch current AHK_L version number ====
  
-<code ahk>+<code AutoHotkey>
 WinHTTP := ComObjCreate("WinHttp.WinHttpRequest.5.1") WinHTTP := ComObjCreate("WinHttp.WinHttpRequest.5.1")
 WinHTTP.Open("GET", "https://www.autohotkey.com/download/1.1/version.txt", false) WinHTTP.Open("GET", "https://www.autohotkey.com/download/1.1/version.txt", false)