Example of reading PHP input data to array.
<?php $_PUT = array(); parse_str(file_get_contents('php://input'), $_PUT); ?>