Issue reading HTTP request body from a JSON POST in PHP
Thanks to others for the input. It turns out that I just needed
$inputJSON = file_get_contents('php://input');$input = json_decode($inputJSON, TRUE); //convert JSON into array
where the second parameter in json_decode
returned the object as an array.
Hope this helps someone else!