TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

A preview of the new Dropbox API v2

18 pointsby leahculverabout 10 years ago

2 comments

Revellabout 10 years ago
&quot;Overall, we’ve simplified our use of HTTP. For example, most endpoints always use HTTP POST, including those that return structured data.&quot;<p>Why? Why would you use a POST call for the first endpoint they demonstrate, users&#x2F;get_current_account<p><pre><code> curl -X POST https:&#x2F;&#x2F;api.dropbox.com&#x2F;2-beta&#x2F;users&#x2F;get_current_account \ --header &quot;Authorization: Bearer &lt;access-token&gt;&quot; \ --header &quot;Content-Type: application&#x2F;json&quot; \ --data &quot;null&quot; </code></pre> Why not implement that as a GET-call?
评论 #9342741 未加载
fapjacksabout 10 years ago
I used to love Dropbox! There are so many options nowadays, though. Oh! This reminds me of a question I&#x27;ve been meaning to ask: Is there any way I can use this API to retrieve information about how much of my data has been handed over to the United States government?