Answers for "how to call another controller function for post request in laravel"

PHP
3

laravel send post request from controller

use Illuminate\Support\Facades\Http;

$response = Http::post('http://example.com/users', [
    'name' => 'Steve',
    'role' => 'Network Administrator',
]);

// By default, data will be sent using the application/json content type
Posted by: Guest on February-26-2021
0

laravel call controller method from another controller

return \App::call('bla\bla\ControllerName@functionName');
Posted by: Guest on April-19-2020

Code answers related to "how to call another controller function for post request in laravel"

Browse Popular Code Answers by Language