I am tasked with including the header access token.
$scope.dropzoneConfig = {
'options': { // passed into the Dropzone constructor
'url': 'SOME API URL' + $scope.SOME_ID
},
'eventHandlers': {
'sending': function (file, xhr, formData) {
},
'success': function (file, response) {
}
}};
My header access token:
{ headers: { 'Authorization': 'Bearer ' + $scope.access_token } }
I must append this to the URL or API I am attempting to access.