check if variable in php://input exist code example Example: if exist php if (isset($var)) { // Code here }