'That's the access token used in the above documentation. Looks like it is
' already Base64 encoded and ready to be used in an authentication header
Dim accessToken As String = "UCCLLQ9N2ARSHWCXLT74KUKSSK34BFKX"
Dim j As HttpJob
j.Initialize("", Me)
'I'm using https, but the site you're using may not support it (hopefully it does).
' Domain name needs to be whatever you are using and then you may also have
' a subfolder. See above linked docs for more info
j.Download("https://example.com/api/")
'Using the access token as is, since it looks like it is Base64 encoded
' (and the sample in the documentation does it so)
j.GetRequest.SetHeader("Authorization", $"Basic ${accessToken}"$)
'If you don't set the Io-Format to JSON, you will have to deal with XML documents
j.GetRequest.SetHeader("Io-Format", "JSON")
Wait For (j) JobDone(j As HttpJob)
If j.Success = True Then
'According to the docs, with what we are doing here, you should be getting
' "a summary of the available APIs you can call with your access token"
Log(j.GetString)
Else
Log(j.ErrorMessage)
End If
j.Release