Linearize PDF is a REST API tool that optimizes a PDF file for quick online viewing known as ‘Fast Web View', improving user experience when streamed over a network connection.
Start right from your browser - upload files, choose parameters, generate code, and send API Calls directly from API Lab!
to receive your free API Key.curl -X POST "https://api.pdfrest.com/linearized-pdf" \ -H "Accept: application/json" \ -H "Content-Type: multipart/form-data" \ -H "Api-Key: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" \
The response for your API Call will display here.
Api-Key
field with your unique API
Key
file
with the local path to your
input
curl -X POST "https://api.pdfrest.com/linearized-pdf" \ -H "Accept: application/json" \ -H "Content-Type: multipart/form-data" \ -H "Api-Key: xxxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" \ -F "file=@../Sample_Input/toLinearize.pdf" \ -F "output=example_out"
The file
parameter allows you to select a local file to be uploaded to pdfRest’s processing server.
Create your FREE API Key to start processing PDFs in seconds, only possible with pdfRest.