KÖTÜ PDF İstisnası
"ERROR-002" hatası, pdf_file isteğindeki POST parametresi PDF olarak algılanmadığında ortaya çıkar. type=application/pdf içeren geçerli bir PDF dosyanız olduğundan emin olun.
Önerilen Çözüm
pdf_file parametresinin POST isteğinde application/pdf türünde olduğundan emin olun.
cURL'da pdf_file doğru sözdizimi örneği:
curl -X POST 'https://api.securedoc.com/v1/document-services/pdfs/redact-text?words_to_redact=IRON' \
-H 'accept: */*' \
-H 'Content-Type: multipart/form-data' \
-F 'pdf_file=@YOUR_PDF_DOCUMENT.pdf;type=application/pdf'curl -X POST 'https://api.securedoc.com/v1/document-services/pdfs/redact-text?words_to_redact=IRON' \
-H 'accept: */*' \
-H 'Content-Type: multipart/form-data' \
-F 'pdf_file=@YOUR_PDF_DOCUMENT.pdf;type=application/pdf'Doğru kullanım için son satıra bakın:
-F 'pdf_file=@YOUR_PDF_DOCUMENT.pdf;type=application/pdf'





