There are many methods to do this.
Method 1
If you make the url like below:
Approve;
You can make route with parameters as like below.
Route::get('approveRequest/{par1}/{par2}/{par3}', 'ApproveController@approve');
And in your function get the respective parameter as following:
public function approve($par1,$par2,$par3,)
{
$id = $par1;
$gsID = $par2;
.... and so on for all your variables.
}
Method 2 use request method:
If your url is like:
Approve;
Then define Route Like:
Route::post('approveRequest', 'ApproveController@approve');
Then in your controller function you get parameters as below:
Use Request after the namespace in youe controller class
namespace App\Http\Controllers;
use Illuminate\Http\Request;
class SomeClassController extends Controller {
public function approve(Request $request)
{
$id = $request->id;
$gsID = $request->get('gsID');
.... and so on for all your variables.
}
}