TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

A preview of the new Dropbox API v2

18 点作者 leahculver大约 10 年前

2 条评论

Revell大约 10 年前
&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 未加载
fapjacks大约 10 年前
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?