DOH, I just had to add , transformRequest: [] so that angularjs would not
crap on the data.
$http.post("https://content.dropboxapi.com/2/files/upload",
data,
{
headers: {
'Content-Type': 'application/octet-stream',
'Authorization': 'Bearer ' +
dSvc.GO.onlineStorage.D1.accessResponse.access_token,
'Dropbox-API-Arg': JSON.stringify({
"path": path,
"mode": "overwrite",
"mute": true
})
}, transformRequest: []
}
)
--
You received this message because you are subscribed to the Google Groups
"Angular" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.