API HTML do PDF
Konwertuj URL lub payload HTML do PDF jednym żądaniem POST. Idealne do faktur, raportów, snapshotów stron i automatyzacji.
Endpoint
POST /api/pdf
URL do PDF
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 do PDF
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.pdfPola żądania
url: Docelowy adres URL strony (http/https)html: Surowy HTML string (wybierzurllubhtml)format: A4 / A3 / Letter / Legalheader/footer: Tekst nagłówka/stopki z wyrównaniemlogo: Logo dataUrl, pozycja i rozmiar
Potrzebujesz skalowalnego HTML do PDF?
Porozmawiajmy o bulk html to pdf, html string to pdf api, batch url to pdf i workflow enterprise.
