Azure Function (POST /api/extract-isdoc) that accepts a PDF payload, extracts an embedded ISDOC/XML attachment, and returns the XML body as application/xml.
dotnet restore
dotnet build
func startRaw PDF body:
curl -X POST "http://localhost:7071/api/extract-isdoc" \
-H "Content-Type: application/pdf" \
--data-binary @invoice.pdfMultipart upload:
curl -X POST "http://localhost:7071/api/extract-isdoc" \
-F "file=@invoice.pdf"