I'm trying to receive JSON with Laravel like this:
Controller:
public function index(Request $request) { dd(Input::all()); } Also tried this:
dd(Request::json()->all()); But it's both not working. This is the test Json I send with postman:
{“parameters” : [{ “email”:”[email protected]", “password”:”testtesttest” }] }
dd( $request->input('<parameter_name>') ) ;should be enough