I want to send an angular message request. My angular problem really sends a receive request instead of a mail request. My angular request is here:
$http({
method: 'POST',
url: pages_url,
params: {
'page': $scope.current_page_id,
'news': JSON.stringify(news),
'method': 'POST'
}
}).then(function (response) {
alert(JSON.stringify(response));
});
When I debug a request with a browser network tab, I see the request parameter in the URL of my server. what should I do?
source
share