phpangularjs
比如:
$http({
method: 'post',
url: http://127.0.0.1:8080/school/studentadd.php,
data : newnames,
headers : {'content-type': 'application/x-www-form-urlencoded' }
}).success(function(){
console.log('success');
}).error(function(){
alert(error);
});
php服务器应该怎么接收这个数据?(我用的appserv)
