I’m unable to connect to smartystreets. The console log shows a get error 401. If I right click on the url and open in a new tab it works fine. Not sure what I’m doing wrong. Newbie.
Function btnValAddress_onclick()
params = "auth-id=" & SSAuthID
params += "&auth-token=" & SSAuthToken
params += "&street=" & encodeURI(inpAddress.value)
params += "&lastline=" & encodeURI(inpCSZ.value)
Dim req = GetJSON(SSUrl, params, addressData)
console.log(req.toString())
End Function
Sub addressData(data)
MsgBox "LAT is " & data[0].metadata.latitude
End Sub