Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSS

angular headers for enc type

this.uploadFileToUrl = function(file, uploadUrl){
        var fd = new FormData();
        fd.append('file', file);
        $http.post(uploadUrl, fd, {
            transformRequest: angular.identity,
            headers: {'Content-Type': undefined}
        })
        .success(function(){
        })
        .error(function(){
        });
    }
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #angular #headers #enc #type
ADD COMMENT
Topic
Name
8+8 =