php://input – is a read-only stream that allows you to read raw data from the request body. May 11, 2017 $postdata = file_get_contents(‘php://input’); http://php.net/manual/en/wrappers.php.php