Hi Support,
While I am triying to access the Api "https://api.dropboxapi.com/2/users/get_account" its shown this site can't be reached.
But i can use this https://api.dropboxapi.com/1/account/info
So please provide the different between this two URLs.
Regards,
Anandaraj
API v2 does operate differently than API v1, so the way you call it will be different. The URL https://api.dropboxapi.com/2/users/get_current_account is the right endpoint for getting the user's account information via API v2. You can find the documentation for it here:
https://www.dropbox.com/developers/documentation/http/documentation#users-get_current_account
It requires a POST request, such as seen in the curl example in the documentation there:
curl -X POST https://api.dropboxapi.com/2/users/get_current_account \ --header "Authorization: Bearer ACCESS_TOKEN_HERE"