Accessing The Request: Request Path & Method
Request Path & Method
Accessing The Request: Request Path & Method — расположение
- He Illuminate\Http\Request instance provides a variety of methods for examining the HTTP request for your application and extends the Symfony\Component\HttpFoundation\Request class.
Retrieving The Request Path
Retrieving The Request URL
// Without Query String...
$url = $request->url();
// With Query String...
$url = $request->fullUrl(); To retrieve the full URL for the incoming request you may use the url or fullUrl methods.
Semantic portal