This question is locked. New answers and comments are not allowed.
In the grids examples (popup editing) I found this code but I dont know why it used like that please explain.
if ($_SERVER['REQUEST_METHOD'] == 'POST') { header('Content-Type: application/json'); $request = json_decode(file_get_contents('php://input'));