📅  最后修改于: 2022-03-11 14:54:32.731000             🧑  作者: Mango
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