<?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: API 1 vs API 2 in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/API-1-vs-API-2/m-p/207139#M10100</link>
    <description>&lt;P&gt;API v2 does operate differently than API v1, so the way you call it will be different. The URL&amp;nbsp;&lt;A href="https://api.dropboxapi.com/2/users/get_current_account" target="_blank"&gt;https://api.dropboxapi.com/2/users/get_current_account&lt;/A&gt; is the right endpoint for getting the user's account information via API v2. You can find the documentation for it here:&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#users-get_current_account" target="_blank"&gt;https://www.dropbox.com/developers/documentation/http/documentation#users-get_current_account&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It requires a POST request, such as seen in the curl example in the documentation there:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;curl -X POST https://api.dropboxapi.com/2/users/get_current_account \
    --header "Authorization: Bearer ACCESS_TOKEN_HERE"&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 16 Feb 2017 17:50:22 GMT</pubDate>
    <dc:creator>Greg-DB</dc:creator>
    <dc:date>2017-02-16T17:50:22Z</dc:date>
    <item>
      <title>API 1 vs API 2</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/API-1-vs-API-2/m-p/207063#M10090</link>
      <description>&lt;P&gt;Hi Support,&lt;/P&gt;&lt;P&gt;While I am triying to access the Api &amp;nbsp;"&lt;A href="https://api.dropboxapi.com/2/users/get_account" target="_blank"&gt;https://api.dropboxapi.com/2/users/get_account&lt;/A&gt;" its shown this site can't be reached.&lt;/P&gt;&lt;P&gt;But i can use this&amp;nbsp;&lt;A href="https://api.dropboxapi.com/1/account/info" target="_blank"&gt;https://api.dropboxapi.com/1/account/info&lt;/A&gt;&lt;/P&gt;&lt;P&gt;So please provide the different between this two URLs.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Anandaraj&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 29 May 2019 09:25:49 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/API-1-vs-API-2/m-p/207063#M10090</guid>
      <dc:creator>anand19196</dc:creator>
      <dc:date>2019-05-29T09:25:49Z</dc:date>
    </item>
    <item>
      <title>Re: API 1 vs API 2</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/API-1-vs-API-2/m-p/207139#M10100</link>
      <description>&lt;P&gt;API v2 does operate differently than API v1, so the way you call it will be different. The URL&amp;nbsp;&lt;A href="https://api.dropboxapi.com/2/users/get_current_account" target="_blank"&gt;https://api.dropboxapi.com/2/users/get_current_account&lt;/A&gt; is the right endpoint for getting the user's account information via API v2. You can find the documentation for it here:&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#users-get_current_account" target="_blank"&gt;https://www.dropbox.com/developers/documentation/http/documentation#users-get_current_account&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It requires a POST request, such as seen in the curl example in the documentation there:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;curl -X POST https://api.dropboxapi.com/2/users/get_current_account \
    --header "Authorization: Bearer ACCESS_TOKEN_HERE"&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 16 Feb 2017 17:50:22 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/API-1-vs-API-2/m-p/207139#M10100</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2017-02-16T17:50:22Z</dc:date>
    </item>
  </channel>
</rss>

