how to upload pdf to convert to image via curl? i need convert pdf to base64 string?
foxit api example:
curl --location 'https://na1.fusion.foxit.com/pdf-services/api/documents/convert/pdf-to-image' \
--header 'Content-Type: application/json' \
--data '{
"documentId": "doc_abc123",
"pageRange": "1-5",
"config": {
"dpi": 96
}
}'