Uploading file to Dropbox with Devdefined OAuth library
问题 I am trying to upload a file to the Dropbox REST web service while at the same time using Devdefined's OAuth library. This is the method I'm using: public static void UploadFile(string filenameIn, string directoryIn, byte[] dataIn) { DropBox.session.Request().Put().ForUrl("https://api-content.dropbox.com/1/files_put/" + directoryIn + filenameIn) .WithQueryParameters(new { param = dataIn }); } The method doesn't appear to do anything, nor throw any exceptions. There's no errors in the output