When developers modify a document with the given cURL command line tool, what is actually being edited is the Document Object Model (DOM). Thus, almost any changes can be made to the document represented as DOM. With the provided cURL command line tool, developers can easily edit a document: modify text, update tables, add images and so on. Just load your text, make the necessary changes programmatically and export the result to the same or any supported save format.
Our cURL library gives developers the ability to modify a text document directly by editing its Document Object Model (DOM), which means no additional software needs to be installed.
The most popular case to edit a text file is text editing. With the given software solution, you can add, modify or delete text using cURL within the document.
Another popular text editing option is table editing. Our cURL SDK allows you to work with tables and text in table cells.
cURL developers can add or remove table and table cells, as well as add, edit and remove text within them.
Besides editing text and tables in text, there is another common option: adding images to a document in cURL. cURL developers can also add an image into a text file using DOM.
Try this powerful cURL SDK and evaluate some options in text document editing. Using the following example, load your text document and make some changes: add text, add a table and a table cell with text or insert an image into the text document:
curl -v "https://api.aspose.cloud/v4.0/words/online/post/{nodePath}/paragraphs" \
-X PUT \
-H "Content-Type: multipart/form-data" \
-H "Authorization: Bearer ####################" \
-F Document="@Input.txt"
curl -v "https://api.aspose.cloud/v4.0/words/convert?format=txt" \
-X PUT \
-H "Content-Type: multipart/form-data" \
-H "Authorization: Bearer ####################" \
-F Document="@EditText.docx"
curl -v "https://api.aspose.cloud/v4.0/words/online/post/tables" \
-X PUT \
-H "Content-Type: multipart/form-data" \
-H "Authorization: Bearer ####################" \
-F Document="@Input.txt"
curl -v "https://api.aspose.cloud/v4.0/words/convert?format=txt" \
-X PUT \
-H "Content-Type: multipart/form-data" \
-H "Authorization: Bearer ####################" \
-F Document="@EditTable.docx"
curl -v "https://api.aspose.cloud/v4.0/words/online/post/sections/0/drawingObjects" \
-X PUT \
-H "Content-Type: multipart/form-data" \
-H "Authorization: Bearer ####################" \
-F Document="@Input1.txt" \
-F ImageFile="@Input2.txt"
-H "Content-Type: application/json" \
-H "Authorization: Bearer ####################" \
curl -v "https://api.aspose.cloud/v4.0/words/convert?format=txt" \
-X PUT \
-H "Content-Type: multipart/form-data" \
-H "Authorization: Bearer ####################" \
-F Document="@EditImage.docx"
Download and install the curl utility. Please follow these Instructions to quickly get the necessary security credentials and access our REST API.
There are no special requirements for using this tool.