I have a form within a blade that calls a controller function and I'm trying to wrap a url query string parameter into the function call.
the url is testsite.com/verifyPhone?accessToken=1Kdfj348fDFJ$($kjdf
In my controller function call I'm already using request for form validation
$this->validate($request,[
'verify_phone' => 'required',
]);
How can I grab the accessToken parameter in the URL as well and incorporate it into this request to send on my next call like so:
$authService->verifyPhone($request->accessToken, $request->verify_phone);
$request->get('accessToken')doesnt work?