I'm just trying to send a POST
request with JS to server. But server has empty $_POST
array. I could use HTTP_RAW_POST_DATA
, but it'll be deprecated in PHP 5.6. Could I have posted data in my $_POST
array?
Environment: Chrome, apache2, PHP, AngularJS (I'm using $http.post
function).
Debug image (sorry for not attaching image directly - I have no 10 reputation)