Create a new document

Creates a new document in the Cloud Storage in the format specified by the file extension.

Create a new document REST API

Server Method Endpoint PUT /words/create

You can use the following parameters in a REST request:

Parameter Name Data Type Required/Optional Description
fileName string Optional The filename of the document.
folder string Optional The path to the document folder.
storage string Optional Original document storage.

Create a new document usage examples

Let’s look at practical examples of using the web service. You can do this both with cURL and Postman utilities, and from your code in various programming languages: Python, Java, JavaScript, C#, PHP, C++, Go, Ruby, Swift, Dart.

How to create a new document with cURL or Postman

One of the easiest and fastest ways to call a REST API is to use cURL or Postman:

How to create a new document in Python, Java, C#, C++, JavaScript and other programming languages

Using SDK is the quickest way to speed up the development. Please take a look at the provided code examples to quickly call this web service from your favourite programming language:

See Also

  • GitHub repository — explore Aspose.Words Cloud SDK Family. These software libraries take care of all low-level document-processing details.