Check out example codes for "laravel get all inputs from request". It will help you in understanding the concepts better.

Code Example 1

$input = $request->all();

Code Example 2

public function store(Request $request)
    {
        $name = $request->input('name');

        //
    }

Learn ReactJs, React Native from akashmittal.com