Answers for "how to make a post request in laravel controller"

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

Code answers related to "how to make a post request in laravel controller"

Browse Popular Code Answers by Language