Remote API Implementation > Writer > Saving the document in a remote server

Saving the document in a remote server

Tags:  

Saving the document in a remote server


The document which is edited in the Writer editor will be pushed to the remote server using multi-part/normal form submission from the Zoho Writer Server. The URL to be used is specified at the time of pushing the document from remote server in the saveurl parameter of the form code.

In order to process the saving of a document, the remote server should understand multi-part form submission with the fields as mentioned below :

Field Description
format the format in which the document should be saved on the remote server (examples: doc, html, pdf, sxw, odt, rtf, txt )
content
document content in desired format
filename filename of the document with extension
id unique id that was initally sent while pushing the document from remote server (reference)

Sample Code

Once you are done with editing your document and press save, Zoho Writer converts the document to the required format(doc/pdf/sxw...etc.,) specified in the above form and sends the modified content to the saveurl. We have come up with some sample codes in different languages that simulates as to how a save file should look like.
Do have a go at the APIs by signing up for the key now. If you have any further questions regarding remote API, write to us at api-support@zohocorp.com.











 


 RSS of this page