post request api laravel code example
Example 1: laravel http client
composer require guzzlehttp/guzzle
Example 2: laravel http client
use Illuminate\Support\Facades\Http;
$response = Http::get('http://test.com');
composer require guzzlehttp/guzzle
use Illuminate\Support\Facades\Http;
$response = Http::get('http://test.com');