0

Fairly new to VBScript, Facing issues while making HTTPs call

While hitting External GET API getting this error

testGet.vbs(12, 1) msxml6.dll: A security problem occurred.

I am using bearer token for authorization.

Const URL = "https://devai:8243/qa/1.0/get/ax53653839t"


Dim HTTP 
Set HTTP = CreateObject("Msxml2.XMLHttp.6.0")


HTTP.open "GET", URL, False
HTTP.setRequestHeader "Authorization", "Bearer aed92fcb-8722-31f0-8f8d-1ea426f42a66"
HTTP.setRequestHeader "Content-Type", "application/json"
HTTP.send


WScript.echo HTTP.responseText
Raj
  • 123
  • 1
  • 1
  • 11

0 Answers0