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