I am trying to access an API using the REST feature. But I can't retrieve the data.
Here the code
Dim Session As New NotesSession
Dim ret As Variant
Dim URL As String
Dim headers As Variant
Dim webRequest As NotesHTTPRequest
Set webRequest = session.createhttprequest()
URL = "https://www.meteoblue.com/en/server/search/query3?query=basel"
ret = webrequest.Get(URL)
Messagebox ret
I already solved my previous problem with this solution, but I have another error now. When I run this code, I get the following error (The problem is with "ret"):
Type mismatch in method OP_CHECK_TOS_BYVAL : BYTE found, Unknown expected
Does anyone have any idea what the problem is?