I am trying to implement the code stated in Laracast.
$proxy = Request::create(
'/oauth/token',
'POST'
);
return Route::dispatch($proxy);
This gives me error Class Route Not found.My question is how can we use Route:dispatch() in lumen ? Thanks
I found the solution for this problem.We can use the following code.