i'm new in this type of access.
I wrote this code but i have the error in objet to recover the list of files in dropbox.
Code:Dim token As String token = "sl.B6........." Dim _command As String _command = "https://api.dropboxapi.com/2/files/list_folder" Dim Request As HttpWebRequest Request = HttpWebRequest.Create(_command) Request.Method = "GET" Request.KeepAlive = True Request.ContentType = "application/x-www-form-urlencoded" Request.UserAgent = "Mozilla/5.0 (Windows NT 6.3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/33.0.1750.154 Safari/537.36" Request.AllowAutoRedirect = True Request.Headers.Add("Authorization", "Bearer " & token) ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12 Dim Response As HttpWebResponse = Request.GetResponse()




Reply With Quote
