I'm using Guzzle 6.5.5 to send a get request and I'm expecting an XML response, but the request returns 200 (OK) with no content. I've tried $response->getBody()
and $response->getBody()->getContents()
to no avail. I've also tried setting the 'Accept' header parameter to 'application/xml' but that didn't seem to make a difference.
What am I missing here?