Kinvey AngularJS Image Upload Content-Type Header
问题 I'm using the AngularJS library of Kinvey. Right now, I can successfully upload an image to Kinvey's Files . I see that my image file is successfully uploaded. The problem is I'm getting an error from the promise of the upload function. Image file: $scope.onFileSelect = function(element) { if (element.files[0]) { $scope.selectedImage = element.files[0]; } console.log($scope.selectedImage); }; Upload function: var promise = $kinvey.File.upload($scope.selectedImage, { mimeType : $scope