Document Comparison with cURL commands

cURL commands for REST API to compare images, documents, spreadsheets, eBooks, CAD, PDF files etc. Get documents difference report to accept or reject changes.

  • GroupDocs.Comparison Cloud SDK for .NET
  • GroupDocs.Comparison Cloud SDK for Java
  • GroupDocs.Comparison Cloud SDK for PHP
  • GroupDocs.Comparison Cloud SDK for Python
  • GroupDocs.Comparison Cloud SDK for Ruby
  • GroupDocs.Comparison Cloud SDK for Node.js

GroupDocs.Comparison Cloud API provides a one-stop-shop solution for comparing documents in all common business formats. Using cURL, you can send requests and receive responses and convert files on the cloud. Supported file types include: PDF and Microsoft Word documents, Excel spreadsheets, PowerPoint presentations, plain text and others.‎

Advanced Document Comparison REST API Features

Multiple file formats support

Cross-platform compatibility

Retrieve compared documents

Accurate content comparison

Accept or reject retrieved changes

Get Changes from Compared Documents

Using GroupDocs.Comparison Cloud API, you can compare documents and get list of changes, with just a few lines of code.

Get changes from compared documents - cURL

curl -v ""
-H "content-type: application/json"
-X POST -d "{'sourceFile':{'folder':'comparisons','name':'source.docx','password':''},'targetFiles':[{'folder':'comparisons','name':'target.docx','password':''}],'settings ':{'generateSummaryPage':true,'showDeletedContent':true,'styleChangeDetection':true,'insertedItemsStyle':{'color':'Blue','beginSeparatorString':'','endSeparatorString':'','bold':false,'italic':false,'strikeThrough':false},'deletedItemsStyle':{'color':'Red','beginSeparatorString':'','endSeparatorString':'','bold':false,'italic':false,'strikeThrough':false},'styleChangedItemsStyle':{'color':'Green','beginSeparatorString':'','endSeparatorString':'','bold':false,'italic':false,'strikeThrough':false},'wordsSeparatorChars':[],'detailLevel':'Low','useFramesForDelInsElements':false,'calculateComponentCoordinates':false,'markDeletedInsertedContentDeep':false},'changes':[{'id':0,'action':'Reject'},{'id':1,'action':'Reject'}]}"

Accurate Content Comparison

Irrespective of the file format, GroupDocs.Comparison Cloud API is able to identify changes in literally all document elements, including texts, lines, boxes, margins, etc. This allows users to get complete details of all changes made to the document: texts, font types and styles, page headers, footers and overall layout – all are precisely analyzed and reported when differences are found.

Advanced Document Handling

GroupDocs.Comparison Cloud provides two main resources (Document and Changes) which allows retrieving compared documents (as file or array of images) or its changes. Also it provides the ability to update (accept or reject) retrieved changes.

Language, Platform & Storage Independence

Being a RESTful API, GroupDocs.Comparison Cloud can be used with any language or platform which supports HTTP requests and responses. You can also use GroupDocs.Comparison Cloud with many third party storage including Amazon S3, Google Cloud, Google Drive and DropBox.

GroupDocs.Comparison Cloud also offers individual document comparison SDKs for other popular languages as listed below: