I want to perform a post with guzzle sending an xml file. I did not find an example.
What I \'ve done so far is :
$xml2=simplexml_load_string($xml) or d
After some experiments, I have figured it out. Here is my solution in case someone reaches a dead end.
$request = new Request( 'POST', $uri, ['Content-Type' => 'text/xml; charset=UTF8'], $xml );