The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 895 - File: showthread.php PHP 7.2.34 (Linux)
File Line Function
/showthread.php 895 errorHandler->error




Thread Rating:
  • 1 Vote(s) - 1 Average
  • 1
  • 2
  • 3
  • 4
  • 5
HTTP POST
#1
how would this look in au. i cant seem to grasp it.
Function Function6
Trigger F12     Help - how to add the trigger to the macro
Code:
Copy      Help
typelib WinHttp {662901FC-6951-4854-9EB2-D9A2570F2B2E} 5.1
WinHttp.WinHttpRequest xhr._create
xhr.Open("POST" F"http://192.168.1.1/test/")
xhr.setRequestHeader("accept", "application/json")
xhr.setRequestHeader("content-type", "application/json-rpc");
str enc.encrypt(4 "admin:password")
xhr.SetRequestHeader("Authorization", F"Basic {enc}")
str data= "{''jsonrpc'':''1.1'',''method'':''change'',''id'': 0,''params'':[{}]}"
xhr.send(data)


Messages In This Thread
HTTP POST - by redbull2k - 12-10-2019, 10:13 PM
RE: QM3 preview - by Gintaras - 12-10-2019, 10:53 PM
RE: QM3 preview - by redbull2k - 12-10-2019, 11:51 PM
RE: QM3 preview - by Gintaras - 12-11-2019, 12:03 AM
RE: QM3 preview - by redbull2k - 12-11-2019, 12:43 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)