Thanks. I am working with the DrChrono API.
The problem is that I am no longer getting a response when verifying an access token.
The code below was unchanged and just recently stopped working:
[code]Dim data As String = me.ReadAll
if InStr(data, “GET /?code=”) > 0 then
Dim successCode As String = Mid(data, 12, InStr(12, data, " ") - 12)
Dim mySocket As HTTPSecureSocket = new HTTPSecureSocket
Dim s As String = “code=” + successCode + “&client_id=” + client_id + “&client_secret=” + client_secret + “&redirect_uri=” + redirect_uri + “&grant_type=authorization_code”
mySocket.Secure = True
s = mySocket.post(“https://drchrono.com/o/token/”, 0) \\<------This response “s” is now being returned as empty.
Dim j As New JSONItem(s)
if j.HasName(“refresh_token”) then
refreshToken = j.Value(“refresh_token”)
accessToken = j.Value(“access_token”)
Mac? Windows? Linux?
in MBS Plugin, e.g. we have LinuxWebViewMBS.Inspector property.