Okay.. I found it.
// In the controller
$data = $request->json();
It works now for both, making requests from the browser or the test class...
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community