Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

laravel create multiple request

// Write this code in your controller 
$request = Request::create(route('/api', ['arg' => 1]), 'GET');
$request->headers->set('X-Authorization', 'xxxxx');
 
PREVIOUS NEXT
Tagged: #laravel #create #multiple #request
ADD COMMENT
Topic
Name
6+2 =