<?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: How use the API on c++ aplication in Discuss Dropbox Developer &amp; API</title>
    <link>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/How-use-the-API-on-c-aplication/m-p/550448#M2184</link>
    <description>&lt;P&gt;The "&amp;lt;oauth2_access_token&amp;gt;" there is just a placeholder, and should be replaced with the actual OAuth 2 access token for the account. From the error message, it sounds like you're sending an invalid value for that (either the placeholder itself, or an invalid access token string). You should check what you're actually sending and correct it so that you're sending the valid OAuth 2 access token. You can find more information on how this process works in &lt;A href="https://developers.dropbox.com/oauth-guide" target="_self" rel="noopener noreferrer"&gt;the OAuth Guide&lt;/A&gt; and &lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#authorization" target="_self" rel="noopener noreferrer"&gt;authorization documentation&lt;/A&gt;.&lt;/P&gt;</description>
    <pubDate>Wed, 13 Oct 2021 15:12:59 GMT</pubDate>
    <dc:creator>Greg-DB</dc:creator>
    <dc:date>2021-10-13T15:12:59Z</dc:date>
    <item>
      <title>How use the API on c++ aplication</title>
      <link>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/How-use-the-API-on-c-aplication/m-p/550168#M2181</link>
      <description>&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;i code on QTCreator, i would like create an application for make a link between my deposit and the client. My question is, how i can use the API (or other solution) for creat the link between my app and my deposit.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;For example, in my computer i have the file "tom.png" i would like upload on my deposit. For this, i open my application, i select my file and i click on the buttom "upload". But, i don't know how a do can this on background for send the document on my Dropbox.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I'm not sure, i really clear...&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Thank your for your any answer and help.&lt;/P&gt;</description>
      <pubDate>Fri, 22 Oct 2021 19:01:24 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/How-use-the-API-on-c-aplication/m-p/550168#M2181</guid>
      <dc:creator>vin212</dc:creator>
      <dc:date>2021-10-22T19:01:24Z</dc:date>
    </item>
    <item>
      <title>Re: How use the API on c++ aplication</title>
      <link>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/How-use-the-API-on-c-aplication/m-p/550180#M2182</link>
      <description>&lt;P&gt;Dropbox does offer an API you can use for listing, uploading, and downloading files, among other operations. You can find everything you need to get started with the Dropbox API, including documentation and tutorials, here:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.dropbox.com/developers" target="_blank"&gt;https://www.dropbox.com/developers&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You may be interested in the Getting Started guide:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.dropbox.com/developers/reference/getting-started" target="_blank"&gt;https://www.dropbox.com/developers/reference/getting-started&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;While Dropbox doesn't offer an SDK for C++ in particular, you could use a third party library, or call the HTTPS endpoints directly:&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, to upload a file, check out /2/files/upload:&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#files-upload" target="_blank"&gt;https://www.dropbox.com/developers/documentation/http/documentation#files-upload&lt;/A&gt; &lt;/P&gt;</description>
      <pubDate>Tue, 12 Oct 2021 15:13:56 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/How-use-the-API-on-c-aplication/m-p/550180#M2182</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2021-10-12T15:13:56Z</dc:date>
    </item>
    <item>
      <title>Re: How use the API on c++ aplication</title>
      <link>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/How-use-the-API-on-c-aplication/m-p/550389#M2183</link>
      <description>&lt;P&gt;thank you for your answer, in my app, i could be use CURL for this.&lt;BR /&gt;&lt;BR /&gt;But, i don't understand how we use the API. For test , i launch on my CMD this command :&amp;nbsp;&lt;/P&gt;&lt;P&gt;curl -X POST &lt;A href="https://api.dropboxapi.com/2/file_requests/count" target="_blank"&gt;https://api.dropboxapi.com/2/file_requests/count&lt;/A&gt; --header "Authorization: Bearer &amp;lt;oauth2_access_token&amp;gt;"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and is don't work i have this error message :&amp;nbsp;&lt;BR /&gt;Error in call to API function "file_requests/count": The given OAuth 2 access token is malformed.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And for finish i don't understand how i acces on my deposit by the API&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 13 Oct 2021 10:27:39 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/How-use-the-API-on-c-aplication/m-p/550389#M2183</guid>
      <dc:creator>vin212</dc:creator>
      <dc:date>2021-10-13T10:27:39Z</dc:date>
    </item>
    <item>
      <title>Re: How use the API on c++ aplication</title>
      <link>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/How-use-the-API-on-c-aplication/m-p/550448#M2184</link>
      <description>&lt;P&gt;The "&amp;lt;oauth2_access_token&amp;gt;" there is just a placeholder, and should be replaced with the actual OAuth 2 access token for the account. From the error message, it sounds like you're sending an invalid value for that (either the placeholder itself, or an invalid access token string). You should check what you're actually sending and correct it so that you're sending the valid OAuth 2 access token. You can find more information on how this process works in &lt;A href="https://developers.dropbox.com/oauth-guide" target="_self" rel="noopener noreferrer"&gt;the OAuth Guide&lt;/A&gt; and &lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#authorization" target="_self" rel="noopener noreferrer"&gt;authorization documentation&lt;/A&gt;.&lt;/P&gt;</description>
      <pubDate>Wed, 13 Oct 2021 15:12:59 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/How-use-the-API-on-c-aplication/m-p/550448#M2184</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2021-10-13T15:12:59Z</dc:date>
    </item>
  </channel>
</rss>

