I want to do basic access authentication using Guzzle and I am very new to programming. I have no clue what to do. I tried to do this using curl but my environment requires
$response = $client->request( 'GET', 'your_url', [ 'auth' => [ 'your_username', 'your_password' ], 'headers' => [ 'if you want to pass something in the headers' ] ] );