<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic save_url directly into folder_id in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/save-url-directly-into-folder-id/m-p/362483#M20609</link>
    <description>&lt;P&gt;I'm trying to use the same functionality that the /upload endpoint has where you can specify which folder you want to upload into by directly using the folder_id ie&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;```curl -X POST &lt;A href="https://content.dropboxapi.com/" target="_blank" rel="noopener"&gt;https://content.dropboxapi.com/&lt;/A&gt;&lt;SPAN class="hljs-number"&gt;2&lt;/SPAN&gt;/files/upload \ &lt;/SPAN&gt;&lt;SPAN&gt;--header &lt;SPAN class="hljs-string"&gt;'Authorization: Bearer {token}&lt;/SPAN&gt;&amp;nbsp;\ --header &lt;SPAN class="hljs-string"&gt;'Content-Type: application/octet-stream'&lt;/SPAN&gt; \ --header &lt;SPAN class="hljs-string"&gt;'Dropbox-API-Arg: {"path":"id:pAAp5E_74CAAAAAAAAAAMw/nametest"}'&lt;/SPAN&gt; &lt;/SPAN&gt;&lt;SPAN&gt;\ --data-binary @&lt;SPAN class="hljs-string"&gt;'image.jpg'```&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class="hljs-string"&gt;It looks like in all of my tests with the explorer that the save_url endpoint doesnt behave the same way and requires you to use the full path to save a url directly into a folder, which would cause me to have to make 2 api calls, one to get the metadata for the folders path, and then another to do the actual upload, which isn't ideal.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;Is there something I'm doing wrong on my end? Or is this just not a supported feature?&lt;/P&gt;</description>
    <pubDate>Tue, 10 Sep 2019 10:31:28 GMT</pubDate>
    <dc:creator>TomH2</dc:creator>
    <dc:date>2019-09-10T10:31:28Z</dc:date>
    <item>
      <title>save_url directly into folder_id</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/save-url-directly-into-folder-id/m-p/362483#M20609</link>
      <description>&lt;P&gt;I'm trying to use the same functionality that the /upload endpoint has where you can specify which folder you want to upload into by directly using the folder_id ie&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;```curl -X POST &lt;A href="https://content.dropboxapi.com/" target="_blank" rel="noopener"&gt;https://content.dropboxapi.com/&lt;/A&gt;&lt;SPAN class="hljs-number"&gt;2&lt;/SPAN&gt;/files/upload \ &lt;/SPAN&gt;&lt;SPAN&gt;--header &lt;SPAN class="hljs-string"&gt;'Authorization: Bearer {token}&lt;/SPAN&gt;&amp;nbsp;\ --header &lt;SPAN class="hljs-string"&gt;'Content-Type: application/octet-stream'&lt;/SPAN&gt; \ --header &lt;SPAN class="hljs-string"&gt;'Dropbox-API-Arg: {"path":"id:pAAp5E_74CAAAAAAAAAAMw/nametest"}'&lt;/SPAN&gt; &lt;/SPAN&gt;&lt;SPAN&gt;\ --data-binary @&lt;SPAN class="hljs-string"&gt;'image.jpg'```&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class="hljs-string"&gt;It looks like in all of my tests with the explorer that the save_url endpoint doesnt behave the same way and requires you to use the full path to save a url directly into a folder, which would cause me to have to make 2 api calls, one to get the metadata for the folders path, and then another to do the actual upload, which isn't ideal.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;Is there something I'm doing wrong on my end? Or is this just not a supported feature?&lt;/P&gt;</description>
      <pubDate>Tue, 10 Sep 2019 10:31:28 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/save-url-directly-into-folder-id/m-p/362483#M20609</guid>
      <dc:creator>TomH2</dc:creator>
      <dc:date>2019-09-10T10:31:28Z</dc:date>
    </item>
    <item>
      <title>Re: save_url directly into folder_id</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/save-url-directly-into-folder-id/m-p/362497#M20610</link>
      <description>&lt;P&gt;You're not doing anything wrong. The /2/files/save_url endpoint unfortunately just doesn't support specifying a path relative to the ID for a folder, like /2/files/upload does.&amp;nbsp;I'll pass this along as a feature request, but I can't promise if or when that might be implemented.&lt;/P&gt;</description>
      <pubDate>Thu, 29 Aug 2019 18:33:57 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/save-url-directly-into-folder-id/m-p/362497#M20610</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2019-08-29T18:33:57Z</dc:date>
    </item>
  </channel>
</rss>

