I need to check if php://input exists/isset. Does it work with php isset() ? What is the proper way to check it?
php://input
You can get the contents of php://input using file_get_contents and check the return value to see if it's actually set:
$input = file_get_contents("php://input"); if ($input) { // set } else { // not set }