send post request to laravel code example
Example 1: laravel http client
use Illuminate\Support\Facades\Http;
$response = Http::get('http://test.com');
Example 2: ensure a header is included with request laravel
// Returns header value with default as fallback
$request->header('someHeader', 'defaultValue');
// Returns boolean
$request->headers->has('someHeader');