<?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 Re: Create a link to a PDF file by '/media' (POST request) and embedding in the browser in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Create-a-link-to-a-PDF-file-by-media-POST-request-and-embedding/m-p/197785#M9124</link>
    <description>&lt;P&gt;[Cross-linking for reference:&amp;nbsp;&lt;A href="https://stackoverflow.com/questions/41123648/html-embed-pdf-file-from-the-dropbox-with-pdf-viewer-online" target="_blank"&gt;https://stackoverflow.com/questions/41123648/html-embed-pdf-file-from-the-dropbox-with-pdf-viewer-online&lt;/A&gt; ]&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;No, unfortunately&amp;nbsp;Dropbox doesn't offer a way to control that in this case.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This isn't really the intended use of these, but shared links (as opposed to these temporary links) may work better for your use case.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In any case, you're using API v1, which is deprecated:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://blogs.dropbox.com/developers/2016/06/api-v1-deprecated/" target="_blank"&gt;https://blogs.dropbox.com/developers/2016/06/api-v1-deprecated/&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You should migrate to API v2 when possible:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.dropbox.com/developers/documentation/http/documentation" target="_blank"&gt;https://www.dropbox.com/developers/documentation/http/documentation&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For example, using API v2 you can get a shared link using:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#sharing-create_shared_link_with_settings" target="_blank"&gt;https://www.dropbox.com/developers/documentation/http/documentation#sharing-create_shared_link_with_settings&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can modify those links as shown here:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.dropbox.com/help/201" target="_blank"&gt;https://www.dropbox.com/help/201&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 14 Dec 2016 19:28:04 GMT</pubDate>
    <dc:creator>Greg-DB</dc:creator>
    <dc:date>2016-12-14T19:28:04Z</dc:date>
    <item>
      <title>Create a link to a PDF file by '/media' (POST request) and embedding in the browser</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Create-a-link-to-a-PDF-file-by-media-POST-request-and-embedding/m-p/197689#M9117</link>
      <description>I tried to embedding PDF file that I get from '/media' API in HTML file. Unfortunately, the response contains the header: "Content-Disposition" which defined as "attachment", so the file can't opening as a view in the browser and the user need to download the file only. It is possible to change the header?</description>
      <pubDate>Wed, 29 May 2019 09:27:40 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Create-a-link-to-a-PDF-file-by-media-POST-request-and-embedding/m-p/197689#M9117</guid>
      <dc:creator>rami2</dc:creator>
      <dc:date>2019-05-29T09:27:40Z</dc:date>
    </item>
    <item>
      <title>Re: Create a link to a PDF file by '/media' (POST request) and embedding in the browser</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Create-a-link-to-a-PDF-file-by-media-POST-request-and-embedding/m-p/197785#M9124</link>
      <description>&lt;P&gt;[Cross-linking for reference:&amp;nbsp;&lt;A href="https://stackoverflow.com/questions/41123648/html-embed-pdf-file-from-the-dropbox-with-pdf-viewer-online" target="_blank"&gt;https://stackoverflow.com/questions/41123648/html-embed-pdf-file-from-the-dropbox-with-pdf-viewer-online&lt;/A&gt; ]&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;No, unfortunately&amp;nbsp;Dropbox doesn't offer a way to control that in this case.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This isn't really the intended use of these, but shared links (as opposed to these temporary links) may work better for your use case.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In any case, you're using API v1, which is deprecated:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://blogs.dropbox.com/developers/2016/06/api-v1-deprecated/" target="_blank"&gt;https://blogs.dropbox.com/developers/2016/06/api-v1-deprecated/&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You should migrate to API v2 when possible:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.dropbox.com/developers/documentation/http/documentation" target="_blank"&gt;https://www.dropbox.com/developers/documentation/http/documentation&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For example, using API v2 you can get a shared link using:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#sharing-create_shared_link_with_settings" target="_blank"&gt;https://www.dropbox.com/developers/documentation/http/documentation#sharing-create_shared_link_with_settings&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can modify those links as shown here:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.dropbox.com/help/201" target="_blank"&gt;https://www.dropbox.com/help/201&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 14 Dec 2016 19:28:04 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Create-a-link-to-a-PDF-file-by-media-POST-request-and-embedding/m-p/197785#M9124</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2016-12-14T19:28:04Z</dc:date>
    </item>
  </channel>
</rss>

