Get a field
This REST API returns a field in a Word document.
Get a field in a Word document REST API
nodePath(required) — the path to the node in the document tree.
index(required) — object index.
You can use the following parameters in a REST request:
|Encoding that will be used to load an HTML (or TXT) document if the encoding is not specified in HTML.
|Password of protected Word document. Use the parameter to pass a password via SDK. SDK encrypts it automatically. We don’t recommend to use the parameter to pass a plain password for direct call of API.
|Password of protected Word document. Use the parameter to pass an encrypted password for direct calls of API. See SDK code for encyption details.
$multipart/form-data request to combine one or more properties into a single body:
Get a field in a Word document usage examples
How to get a field in a Word document with cURL or Postman
One of the easiest and fastest ways to call a REST API is to use cURL or Postman:
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:
- GitHub repository — explore Aspose.Words Cloud SDK Family. These software libraries take care of all low-level document-processing details.