Olá, estou tentando fazer o download via api /2/files/download de um arquivo, mas acredito que estou fazendo tudo certo e o download não é feito.
Dim xmlhttp As New MSXML2.ServerXMLHTTP60
Dim myURL As String
dim argumentString as string
myURL = "https://content.dropboxapi.com/2/files/download"
argumentString = "{ " & Chr(34) & "path" & Chr(34) & ": " & Chr(34) & "/home/UpdateMalala/fat.pdf" & Chr(34) & " }"
xmlhttp.Open "POST", myURL, False
xmlhttp.SetRequestHeader "Authorization", "Bearer my toh=ken"
xmlhttp.SetRequestHeader "Dropbox-API-Arg", argumentString
xmlhttp.send
Mas ocorre o erro abaixo:
{"error_summary": "path/not_found/", "error": {".tag": "path", "path": {".tag": "not_found"}}}