Hi Guys,
I'm using the below code that should get me a JSON response, here an example of what I get if I run it from the browser:
.png)
Set Httprequest=##class(%Net.HttpRequest).%New()
Set Httprequest.SSLConfiguration="RTLS"
Set Httprequest.Server="nn.sxhub.com"
Set Httprequest.Timeout=30
Set Httprequest.Port=9222
Set Httprequest.Https=1
set Httprequest.ContentType="application/json"
Do Httprequest.SetHeader("Accept","application/json")
Do Httprequest.SetHeader("Accept-Language","en_US")
Set HttpURL="/SX/api/visiblebles?mac=CC:1A:E2:E1:A4:30"
Set tSc=Httprequest.Get(HttpURL)
If $$$ISERR(tSc){
W !, $System.OBJ.




.png)


.png)
.png)
.png)
.png)


.png)


