url = "https://" & server & "/bConnect/" & version & "/" & controller & "." & outputformat & attribues
'request
httpObj.Open "GET", url, False, user, password
httpObj.setOption 2, 13056 'suppress cert warning
httpObj.SetRequestHeader "pragma", "no-cache" 'avoid caching
httpObj.SetRequestHeader "Cache-Control", "no-cache, no-store" 'avoid caching
httpObj.send
'HTTP status codes: 200=OK; 400=bad request; 403=unauthorized; 500=internal server error;
plot = "HTTPS response status code: " & httpObj.Status & vbCrLf & vbCrLf