Skip to content
Advertisement

Uploading file to dropbox using Dropbox’s v2 API

I want to save an uploaded file in Dropbox using PHP and also use Dropbox’s v2 API for this.

I’m not getting any response for this.

Below is my code.

JavaScript

I am getting below response.

enter image description here

Advertisement

Answer

After you get access token from Dropbox app run below code your file will uploaded on dropbox

JavaScript
User contributions licensed under: CC BY-SA
4 People found this is helpful
Advertisement