use IlluminateSupportFacadesHttp;
$response = Http::post('http://example.com/users', [
'name' => 'Steve',
'role' => 'Network Administrator',
]);
// By default, data will be sent using the application/json content type
if (Request::isMethod('post'))
{
//
}