예제 #1
0
 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;
 }
예제 #2
0
 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;
 }