<?php $_PUT = array(); parse_str(file_get_contents('php://input'), $_PUT); ?>