Kanthi REST API, pangembang cURL bisa nggawe Word dokumen kanthi gampang. Kanggo nggawe file ing Word format dokumen, sampeyan kudu nindakake sawetara langkah nggunakake cURL SDK:
Wiwit Word dokumen kosong mesthine ngemot siji paragraf, nalika sampeyan nggawe Word file kanthi program, sampeyan bakal entuk struktur dhasar kasebut.
Elinga yen sampeyan bisa nambah konten menyang Word dokumen sing mentas digawe kanthi cepet. Mangkono, sampeyan bakal entuk ora mung Word file kosong, nanging dokumen sing ngemot konten sing dibutuhake. Kanggo informasi luwih lengkap babagan cara ngowahi Word dokumen, deleng kaca 'Edit Word Document'.
Kaya sing wis kasebut, cURL SDK kita ngidini sampeyan nggawe Word dokumen kanthi program. Sampeyan bisa nyoba fungsi sing kuat lan ngevaluasi carane nggawe Word 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.