I am trying to generate Excel (.xls) files from an AngularJS app using DocRaptor. I keep getting the following error, when trying just the simple POST request as described in D
I was having the same problem. You should be sending -
data:forDocRaptor
Also, for some reason if you use
method:'POST'
it works, but $http.post does not
So - your code would look like this:
$http({ method:'POST', url: URL, data:forDocRaptor }).success(function(res){ console.log(res) })