Topic: SOS Alarm POST Method
Hi, im creating a web service to receive the unit id when the sos notification is activated sending it through a request post method to app ip address.
Looks like this:
$id = "00000000"; //<--POST VARIABLE EXAMPLE
var info = wialon.core.Session.getInstance().getItem("<?php echo $id; ?>"); // get unit by id
however i dont know how can i receive the post variable through php (for example $id=$_POST['name'];)
does any know how the variable is named or how can i get the post data??