'Laravel ignores large post request data from Ajax request

The Laravel $request variable ignores big data, but if I use...

$rawPostData = file_get_contents("php://input");

I can get all data from the request, even if I have to increase post_max_size from the php.ini file, but I still face this issue.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source