angular$http.post-数据未显示在target.php页面上的$\u post数组中

angular$http.post-数据未显示在target.php页面上的$\u post数组中,http,angularjs,post,Http,Angularjs,Post,var“id”没有显示在target.php页面上的$\u POST数组中。你能给我指出正确的方向吗 $http.post("php/get_venue.php", { id: "108" }) .success(function(data, status, headers, config) { console.log("success", data); }).error(function(data, status, headers, config) { console.log(

var“id”没有显示在target.php页面上的$\u POST数组中。你能给我指出正确的方向吗

$http.post("php/get_venue.php", { id: "108" })
.success(function(data, status, headers, config) {
    console.log("success", data);
}).error(function(data, status, headers, config) {
    console.log("error", data, status, headers, config);
});
我同意这个问题。Angular$http发送请求正文,所以您必须使用文件\u get\u co读取它ntentsphp://input;