HTML'den PDF'e API
URL veya HTML içeriğini tek bir POST isteğiyle PDF'e dönüştürün. Fatura, rapor, web sayfası snapshot'ı ve otomasyon için idealdir.
Endpoint
POST /api/pdf
URL'den PDF'e
curl -X POST "https://shipany2-pdf-sandbox.vercel.app/api/pdf" \
-H "content-type: application/json" \
-d '{"url":"https://example.com"}' \
--output out.pdfHTML string'den PDF'e
curl -X POST "https://shipany2-pdf-sandbox.vercel.app/api/pdf" \
-H "content-type: application/json" \
-d '{"html":"<!doctype html><html><body><h1>Hello</h1></body></html>"}' \
--output out.pdfİstek alanları
url: Hedef web sayfası URL'si (http/https)html: Ham HTML string (şunu seç:urlveyahtml)format: A4 / A3 / Letter / Legalheader/footer: Hizalamalı üst/alt bilgi metnilogo: Logo dataUrl, konum ve boyut
Ölçekli bulk HTML to PDF ihtiyacınız mı var?
bulk html to pdf, html string to pdf api, batch url to pdf ve enterprise rendering workflow için bizimle konuşun.
