When I make a request using below code my C# method does not get any data:
$http({
method : 'POST',
url : ...,
data : {
test : 'hello'
})
.then(function (result) {
console.log('success')
}, function () {
console.log('error')
})
In debug mode I'm able to hit the method but no data is passed with the request.