We have already tried to use the PHP Library that you are referring to but we find that it’s not supporting PHP 7.1 as a result of the used dependency. Attached the issues we are getting when we try to install it via composer.
We have logged a request (WORDSCLOUD-387) for our Development team to look into this issue and fix it. We will update you here as soon as the issue is fixed.
What do you suggest, should we try to consume the API directly instead? Could you provide an example of how the request should be sent for “executeMailMerge” API?
We recommend our users to use SDKs as they take care of a lot of low-level details of making requests and handling responses. But to help you understand the complete API process, I have written the following cURL example:
curl -v "https://api.aspose.cloud/v1.1/words/SampleMailMergeTemplate.docx/executeMailMerge?withRegions=false&destFileName=TestPostDocumentExecuteMailMerge.docx&appSID=B01A15E5-1B83-4B9A-8EB3-0F2BFA6AC766&signature=MAMSlswo1GndbA7fBIy30amXhTU" \
-X POST \
-d @SampleMailMergeTemplateData.txt \
-H "Content-Type: multipart/form-data" \
-H "Accept: application/json"
Input Files: Input Files.zip (21.4 KB)
Output File: Output File.zip (39.0 KB)