Convert PDF to Base64.
POST/pdf/base64
Convert PDF to Base64.
Request
Header Parameters
ipaas string
- application/json
Bodyrequired
pdfstringrequired
The PDF URL.
fileNamestring
The file name will be returned again. If none is provided, one will be generated automatically.
Responses
- 200
- 400
Success
- application/json
- Schema
- Example (auto)
Schema
pdfBase64stringrequired
The Base64-encoded PDF buffer.
fileNamestringrequired
The provided file name or an auto-generated one.
{
"pdfBase64": "string",
"fileName": "string"
}
Bad Request
- application/json
- Schema
- Example (auto)
Schema
statusnumber
errorMessagestring
{
"status": 0,
"errorMessage": "string"
}