how to send post http request in controller in laravel code example
Example: 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