Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
This Gist contains examples of APIs for Blog Posts
### Compare source and target document and get the comparison result document
curl -X POST ""
-H "accept: application/json"
-H "authorization: Bearer [Access_Token]"
-H "Content-Type: application/json"
-d "{"SourceFile": {"FilePath": "source.docx",},"TargetFiles": [{"FilePath": "target.docx",}],"OutputPath": "result.docx"}"
### Download document from default storage
curl -X GET ""
-H "accept: multipart/form-data"
-H "authorization: Bearer [Access_Token]"
-o "C:/Temp/result.docx"
### Upload document to default storage
curl -X POST ""
-H "accept: application/json"
-H "authorization: Bearer [Access_Token]"
-H "Content-Type: multipart/form-data"
-T C:/Temp/source.docx
### Retrieve access token JWT(JSON Web Token)
### TODO: Get your AppSID and AppKey at (free registration is required).
curl --request POST
--header "Content-Type: application/x-www-form-urlencoded"
--data "grant_type=client_credentials&client_id=[APP_SID]&client_secret=[APP_KEY]"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.