Answers for "how to send 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

Code answers related to "how to send post request in laravel"

Browse Popular Code Answers by Language