Kanthi REST API, pangembang cURL bisa nggawe DOCX dokumen kanthi gampang. Kanggo nggawe file ing DOCX format dokumen, sampeyan kudu nindakake sawetara langkah nggunakake cURL SDK:
Wiwit DOCX dokumen kosong mesthine ngemot siji paragraf, nalika sampeyan nggawe DOCX file kanthi program, sampeyan bakal entuk struktur dhasar kasebut.
Elinga yen sampeyan bisa nambah konten menyang DOCX dokumen sing mentas digawe kanthi cepet. Mangkono, sampeyan bakal entuk ora mung DOCX file kosong, nanging dokumen sing ngemot konten sing dibutuhake. Kanggo informasi luwih lengkap babagan cara ngowahi DOCX dokumen, deleng kaca 'Edit DOCX Document'.
Kaya sing wis kasebut, cURL SDK kita ngidini sampeyan nggawe DOCX dokumen kanthi program. Sampeyan bisa nyoba fungsi sing kuat lan ngevaluasi carane nggawe DOCX file nggunakake conto cURL ing ngisor iki:
curl -v "https://api.aspose.cloud/v4.0/words/create?fileName=Output.docx" \
-X PUT \
-H "Content-Type: application/json" \
-H "Authorization: Bearer ####################" \
curl -v "https://api.aspose.cloud/v4.0/words/storage/file/Output.docx" \
-X GET \
-H "Content-Type: application/json" \
-H "Authorization: Bearer ####################" \
Ngundhuh lan nginstal utilitas curl. Tututi Instructions iki supaya cepet entuk kredensial keamanan sing dibutuhake lan ngakses REST API kita.
Ora ana syarat khusus kanggo nggunakake alat iki.