Hello everyone. I am trying to get some data that is passed by $ http.post to a php script. This is my angled ajax:
$http.post('../_classes/chamaOddss.php', id).then(function(datae) {
console.log(datae);
});
This is my php script that I use to receive this data:
$jogoId = file_get_contents("php://input");
echo $jogoId;
o
console.log (datae)
show this:
Object {data: "null", status: 200, config: Object, statusText: "OK"}
Can you help me? Thanks!