Cloud Upload Template using cURL

This example shows how to upload a template to the cloud using cURL.  It calls the Docmosis REST API to upload a local template file to the cloud.

The sample code includes the instructions to get started. You will need a Free Trial and then plug your Docmosis Cloud access key into the code below, then run.

The linux command:

curl -F templateFile=@NewTemplate.docx -F accessKey=XXXX  https://dws2.docmosis.com/services/rs/uploadTemplate

will call the cloud service to upload the template from the local file NewTemplate.docx.

The access key above is XXX which you should replace with your access key.

Feedback

Invalid Input

Sorry, this field will only accept letters and numbers, and not special characters, to limit spam.

Sorry, this field will only accept letters and numbers, and not special characters, to limit spam.

Invalid Input

Applies To

Docmosis-Java Tornado Cloud
Version(s) - - DWS2