public override string GetDoc(string id) { RestApiClient client = new RestApiClient() { EndPoint = "https://content.dropboxapi.com/1/files/auto/", Method = RestApiClient.HttpVerb.GET, AccessToken = this.AccessToken, Parameters = "?rev=" + id }; var json = client.SendRequest(); return json; }
public override string GetAllDoc() { RestApiClient client = new RestApiClient() { EndPoint = this.GETUri, Method = RestApiClient.HttpVerb.GET, AccessToken = this.AccessToken, Parameters = "?list=true" }; var json = client.SendRequest(); return json; }