Convert Avro to PDF using an API
Use our API to convert your Apache Avro data to PDF
Convert
to
POST
https://dataconverter.io/api/v1/convert/avro-to-pdf
After signing up and verifying your email, you will be able to create an API Token in your account settings.
Headers
-
Authorization (required)
Bearer <<YOUR_API_TOKEN_HERE>>
Request Body — (multipart/form-data)
-
file (required)
string <binary>
-
downloadSettings
object
{ "pageSize" : "A3", "pageOrientation" : "LANDSCAPE", "columnStyles" : [ { "index" : 0, "wordwrap" : true }, { "index" : 1, "wordwrap" : true }, { "index" : 2, "wordwrap" : true } ] }
Request Sample
curl -X POST "https://dataconverter.io/api/v1/convert/avro-to-pdf" \
-H "Authorization: Bearer YOUR_TOKEN_HERE" \
-F "file=@data.avro;type=application/avro" \
-F "downloadSettings={\"pageSize\":\"A3\",\"pageOrientation\":\"LANDSCAPE\",\"columnStyles\":[{\"index\":0,\"wordwrap\":true},{\"index\":1,\"wordwrap\":true},{\"index\":2,\"wordwrap\":true}]};type=application/json" \
--output converted.pdf