I am trying to set the base URI for API requests on my GuzzleHTTP instance but am having issues with it dropping the path. According to the docs, a URI of https://api.app.com/v2/
should return that as the path but on my project it is dropping the v2
and just returning https://api.app.com
$this->client = new Client([
'base_uri' => $this->baseUri // baseUri == https://api.app.com/v2/
]);
base_uri
should be https://api.app.com/v2/
not https://api.app.com