title: Uploading file to folder other than default OneDrive REST
body: <p>So I'm PUTing a file onto one drive, my URI looks like
  <a href="https://apis.live.net/v5.0/me/skydrive/files/?access_token=12345" rel="nofollow">https://apis.live.net/v5.0/me/skydrive/files/?access_token=12345</a></p>
  
  <p>however, if I try and change the folder to, say, Documents:</p>
  
  <p><a href="https://apis.live.net/v5.0/me/skydrive/files/Documents?access_token=12345" rel="nofollow">https://apis.live.net/v5.0/me/skydrive/files/Documents?access_token=12345</a></p>
  
  <p>or</p>
  
  <p><a href="https://apis.live.net/v5.0/me/skydrive/Documents/files?access_token=12345" rel="nofollow">https://apis.live.net/v5.0/me/skydrive/Documents/files?access_token=12345</a></p>
  
  <p>I'll get a HTTP 400 (bad request error). </p>
  
  <p>One "workaround" could be to query the top level directory of the onedrive, done by reading the JSON response from the first URI about, and then suck out the upload_location for a desired folder, however I feel this is a bit long winded. From the <em>Upload a File</em> section in
  <a href="https://msdn.microsoft.com/en-us/library/dn659726.aspx" rel="nofollow">https://msdn.microsoft.com/en-us/library/dn659726.aspx</a>
  I got the impression I should be able to specify a friendly folder path. </p>
  
  <p>I'm positive it's a really simple answer, but I've wasted long enough on it and hopefully this will serve as a resource for those having the same issue (haven't been able to find elsewhere except for an unanswered question here <a href="http://answers.microsoft.com/en-us/onedrive/forum/sdfiles-sdupload/how-to-upload-a-file-to-a-specific-folder-created/0d57e43c-a3ec-42fc-b3b7-f15a17b2836f" rel="nofollow">http://answers.microsoft.com/en-us/onedrive/forum/sdfiles-sdupload/how-to-upload-a-file-to-a-specific-folder-created/0d57e43c-a3ec-42fc-b3b7-f15a17b2836f</a>)</p>
  
  <p>Thanks</p>