Also tried:
lcAPIKey = ALLTRIM(sysfile.FFEAPIkey)
o = CreateObject("msxml2.xmlhttp")
o.open("GET","https://www.website.com/cgi-bin/newapi.cgi")
In case I needed a user name
lcBasicAuth = "Basic " + Chrtran(Strconv(":"+lcAPIKey,13),"=","")
lcBasicAuth = lcAPIKey...