Changed to use file_get_contents instead of fopen for reading php://input