Kanthi REST API, pangembang cURL bisa nggawe HTML dokumen kanthi gampang. Kanggo nindakake iki, sampeyan kudu nindakake sawetara langkah nggunakake cURL SDK kita:
Wiwit HTML dokumen kosong mesthine ngemot siji paragraf, nalika sampeyan nggawe HTML file kanthi program, sampeyan bakal entuk struktur dhasar kasebut.
Elinga yen sampeyan bisa nambah konten menyang HTML dokumen sing mentas digawe. Mangkono, sampeyan bakal entuk ora mung file kosong, nanging HTML dokumen sing ngemot konten sing dibutuhake. Kanggo informasi luwih lengkap babagan carane ngowahi HTML dokumen, deleng kaca 'Edit HTML'.
Kaya sing wis kasebut, cURL SDK kita ngidini sampeyan nggawe HTML dokumen kanthi program. Sampeyan bisa nyoba fungsi sing kuat lan ngevaluasi carane nggawe HTML dokumen nggunakake conto cURL ing ngisor iki:
curl -v "https://api.aspose.cloud/v4.0/words/create?fileName=Output.html" \
-X PUT \
-H "Content-Type: application/json" \
-H "Authorization: Bearer ####################" \
curl -v "https://api.aspose.cloud/v4.0/words/storage/file/Output.html" \
-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.