Dropbox API Getting account information Getting account information via jQuery in JavaScript

Help us to keep this website almost Ad Free! It takes only 10 seconds of your time:
> Step 1: Go view our video on YouTube: EF Core Bulk Extensions
> Step 2: And Like the video. BONUS: You can also share it!

Example

jQuery.ajax({
    url: 'https://api.dropboxapi.com/2/users/get_current_account',
    type: 'POST',
    headers: {
        "Authorization": "Bearer <ACCESS_TOKEN>"
    },
    success: function (data) {
        console.log(data);
    },
    error: function (error) {
        console.log(error);
    }
})

<ACCESS_TOKEN> should be replaced with the OAuth 2 access token.



Got any Dropbox API Question?