Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: use capture to populate global request with json array (#883)
Request::capture is using createFromBase that checks is request is json and replace request with json array ``` if ($newRequest->isJson()) { $newRequest->request = $newRequest->json(); } ``` and later when in controller you can use request->get('some-json-key') to get value as its a default laravel behavior [check index.php:53]
- Loading branch information