How do I compare two documents in Zoho Writer? Any sample codes?
To compare two versions of a document, you need to make use of Zoho Writer's Comparison API.
HTML Sample Code:
Upload Document1: <input type="file" name="document1" size="38"><br>
Upload Document2: <input type="file" name="document2" size="38"><br><br>
<input type="hidden" name="apikey" value="423s*****">
<input type="submit" name="submit" value="Compare Document">
</form>
Curl Sample Code:
curl --request POST \
--header 'content-type: multipart/form-data; boundary=----WebKitFormBoundary7MA4YWxkTrZu0gW' \
--form document1=@/Users/username/Documents/Sample_V1.docx \
--form document2=@/Users/username/Documents/Sample_V2.docx \
--form 'apikey=423s*****'
You can also build and test Compare Document API requests right from your browser with Office Integrator Postman Collection.
Related Articles
How do I edit documents in Zoho Writer? Any sample codes?
To edit an existing document from your web application, you need to make use of Zoho Writer's Edit Document API. HTML Sample Code: <form method="POST" action=" https://writer.zoho.com/writer/officeapi/v1/document" enctype="multipart/form-data" ...
How do I save documents locally using "save_url" method? Any sample codes available?
A "save_url" is a publicly accessible Web hook or a Web URL to which Zoho will push the updated document content from its Office editors (Writer, Sheet, Show) to your storage server. In order to make use of "save_url" method and save document ...
Sample Codes - Java SDK
All of Zoho CRM's APIs can be used through the Java SDK, to enable your custom application to perform data sync to the best degree. Here are the sample codes for all the API methods available in our SDK. Rest Client Operations These methods involve ...
Sample Codes - C# SDK
All of Zoho CRM's APIs can be used through the C# SDK, to enable your custom application to perform data sync to the best degree. Here are the sample codes for all the API methods available in our SDK. Rest Client Operations These methods involve ...
Sample Codes - Python SDK
All of Zoho CRM's APIs can be used through the Python SDK, to enable your custom application to perform data sync to the best degree. Here are the sample codes for all the API methods available in our SDK. Rest Client Operations These methods involve ...