php-ews icon indicating copy to clipboard operation
php-ews copied to clipboard

how to fetch __getLastResponse, __getLastResponseHeaders,....

Open fglueck opened this issue 3 years ago • 0 comments

I got an error: "The request is invalid." To find the error I try

$this->api->getClient()->__getLastResponse(); $this->api->getClient()->__getLastRequest();

But all of this will trigger a Exception. Returns getClient() not a NTLMSoapClient (extends SoapClient)? $this->api was created with: API::withCallbackToken('outlook.office365.com', $token, $conf['options']);

Is there anyone that can help me in this misunderstood?

fglueck avatar Apr 22 '22 15:04 fglueck