Например, пусть имеется код вроде:
$postdata = \json_decode(file_get_contents('php://input'), true);
И он для входных данных: