I am using the PHP API 22.3 and using the sample code from the API documentation here:
However I keep getting the following error:
PHP Warning: Undefined array key "Content-Type" in /workspace/aspose/vendor/aspose-cloud/aspose-words-cloud/src/Aspose/Words/ObjectSerializer.php on line 112
When I usee a different APi function it works, e.g.
$requestDocument = "Sample.docx";
$request = new GetSectionPageSetupOnlineRequest($requestDocument, 0, NULL, NULL, NULL);
$result = $wordsApi->getSectionPageSetupOnline($request);
I’m using the same docx file - so there can’t be an issue with the document.