$request->input() not working in laravel

By | September 19, 2017

getting the below error while using the $request->input(‘f_name’);

ErrorException in Controller.php : Non-static method Symfony\Component\HttpFoundation\Request::get() should not be called statically, assuming $this from incompatible context

this is because of use Illuminate\Support\Facades\Request;

if we use
use Illuminate\Http\Request;,

then $request->input will work