🚀 Endpointy API dla Power Automate
POST /api/convert-file
Opis: Wyślij plik HTML jako multipart/form-data
Pola: htmlFile (plik), options (JSON – opcjonalne ustawienia PDF)
Odpowiedź: PDF (Content-Disposition: attachment)
POST /api/convert-html
Opis: Wyślij czysty HTML jako JSON
Body: {"html":"<!DOCTYPE html>...", "options": {...}}
Odpowiedź: PDF (Content-Disposition: attachment)
GET /health
Opis: Sprawdzenie statusu serwera
Odpowiedź: JSON { status, timestamp, service }