.*for testing, at least until you have verified you can receive a POST. This will POST the data on ALL URLs. If you do not receive the POST, please verify your endpoint can receive a POST request by testing with a tool like Curl or Postman.
$data = file_get_contents('php://input'); $data = json_decode($data);