Ich habe OneDrive & Google Drive erfolgreich Verarbeitung Chunked Download jedoch Dropbox gibt mir Trauer, weil ich nicht den richtigen HTTP-Anfrage Pfad zu der Datei bekommen kann.Dropbox Anfrage URL Pfad zur Datei C#
Ich bin kein Experte in Ruhe & Endpunkte, vielleicht jemand kann mich in die richtige Richtung für die akzeptable Dropbox-Anfrage-Format für die neueste UWP SDK zeigen.
using (var httpRequest = new HttpRequestMessage())
{
string url = "https://content.dropboxapi.com/1/files/auto" + uri;
string accessKey = ApplicationData.Current.LocalSettings.Values[CommonData.dropboxAccessToken_Key].ToString();
httpRequest.Method = HttpMethod.Get;
httpRequest.RequestUri = new Uri(url);
httpRequest.Headers.Authorization = new System.Net.Http.Headers.AuthenticationHeaderValue("bearer", accessKey);
}
Ich habe docs auf Dropbox lesen, und es ist auf der Formatierung für mich nicht klar, auch konnte ich nicht ein klares Beispiel überall.
Danke nochmal!
Haben Sie dieses doc überprüfen https://www.dropbox.com/developers/documentation/dotnet#tutorial? – Oluwafemi
Ich sah, dass ich aufgrund Speicher Einschränkungen herunterladen möchte, möchte ich es tun, die http Ruhe. Ich glaube, dass v1 nur den Download unterstützt. Danke – Sixjac
Dropbox API v2 unterstützt Bereich Retrieval-Anfragen auf Inhalt-Download-Endpunkte: https://www.dropbox.com/developers/documentation/http/documentation#formats wie https://www.dropbox.com/developers/documentation/http/documentation # files-download – Greg