Owahi Word file utawa PDF ing cURL SDK

Gunakake REST API kanggo ngowahi file ing cURL kanthi program

Owahi Word file utawa PDF nggunakake alat baris perintah cURL. Ngowahi teks, ngowahi tabel, nambah gambar ing dokumen nganggo cURL.

Ndeleng potongan kode

Sunting dokumen ing cURL nggunakake REST API

Pustaka cURL kita menehi pangembang kemampuan kanggo ngowahi dokumen kanthi langsung kanthi nyunting Document Object Model (DOM), tegese ora ana piranti lunak tambahan sing kudu diinstal.

Penting kanggo ngerti yen nggunakake solusi cURL iki, sampeyan bisa ngowahi dokumen ing format apa wae sing didhukung. Contone, sampeyan bisa mbukak file ing PDF, DOCX, DOC, RTF, ODT, EPUB, HTML lan format liyane, banjur ngowahi file iki lan disimpen ing format sing padha utawa ing format sing didhukung liyane.

Sunting teks ing cURL

Kasus sing paling populer kanggo nyunting Word, PDF utawa dokumen liyane yaiku nyunting teks. Kanthi solusi piranti lunak sing diwenehake, sampeyan bisa nambah, ngowahi utawa mbusak teks nggunakake cURL ing dokumen kasebut.

Sunting tabel ing cURL

Pilihan panyuntingan dokumen populer liyane yaiku nyunting tabel. cURL SDK kita ngidini sampeyan nggarap tabel lan teks ing sel tabel.

Pangembang cURL bisa nambah utawa mbusak sel tabel lan tabel, uga nambah, ngowahi lan mbusak teks ing njero.

Tambah gambar menyang dokumen nggunakake cURL

Saliyane nyunting teks lan tabel, ana pilihan umum liyane: nambahake gambar menyang dokumen ing cURL. Pangembang cURL uga bisa nambah gambar menyang file nggunakake DOM.

Ngedit dokumen online

Coba cURL SDK sing kuat iki lan evaluasi sawetara opsi ing panyuntingan dokumen. Nggunakake conto ing ngisor iki, muat dokumen sampeyan lan gawe sawetara owah-owahan: nambah teks, nambah tabel lan sel tabel kanthi teks utawa lebokake gambar menyang dokumen:

Unggah dokumen sing pengin diowahi
Kode roto
Unggah gambar sing pengin dilebokake
Pilih format target saka dhaptar
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.docx"

curl -v "https://api.aspose.cloud/v4.0/words/convert?format=docx" \
     -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.docx"

curl -v "https://api.aspose.cloud/v4.0/words/convert?format=docx" \
     -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.docx" \
     -F ImageFile="@Input2.docx"
     -H "Content-Type: application/json" \
     -H "Authorization: Bearer ####################" \

curl -v "https://api.aspose.cloud/v4.0/words/convert?format=docx" \
     -X PUT \
     -H "Content-Type: multipart/form-data" \
     -H "Authorization: Bearer ####################" \
     -F Document="@EditImage.docx"
Kode roto
  
Nyalin kode cURL menyang clipboard

Cara Ngowahi file ing cURL

  1. Instal cURL
  2. Entuk kunci aplikasi sampeyan nggunakake 'Aspose.Words Cloud kanggo cURL'
  3. Pass token Bearer ing header Wewenang
  4. Muat dokumen sing arep diowahi ing cURL
  5. Lebokake isi ing wiwitan dokumen
  6. Download dokumen asil saka panyimpenan maya

cURL perpustakaan kanggo nggunakake panyuntingan dokumen

Ngundhuh lan nginstal utilitas curl. Tututi Instructions iki supaya cepet entuk kredensial keamanan sing dibutuhake lan ngakses REST API kita.

Requirements Sistem

Ora ana syarat khusus kanggo nggunakake alat iki.

5%

Langganan kanggo Aspose Update Product

Entuk buletin saben wulan lan tawaran langsung dikirim menyang kothak layang.

© Aspose Pty Ltd 2001-2024. Kabeh hak dilindhungi undhang-undhang.