Forum Discussion

lazedo's avatar
lazedo
New member | Level 2
8 years ago

why does /2/users/get_current_account endpoint require a post request

Hello,

 

the /2/users/get_current_account seems a bit confusing in its usage.

it requires

  • "post" verb
  • null as body content
  • "application/json" as content-type 

afaik, null is not a valid json content, but the api server accepts nothing but that value in conjuction with content-type.

 

a get operation here seems more adequate and in line with other oauth providers, since there's no information the client needs to provide to the server besides the authorization.

 

can you take this in consideration and implement the get operation on this endpoint ?

 

Thank You

 

About Dropbox API Support & Feedback

Node avatar for Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.5,941 PostsLatest Activity: 6 days ago
351 Following

If you need more help you can view your support options (expected response time for an email or ticket is 24 hours), or contact us on X or Facebook.

For more info on available support options for your Dropbox plan, see this article.

If you found the answer to your question in this Community thread, please 'like' the post to say thanks and to let us know it was useful!