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! Visit Get Started 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" \
Api-Key
field with your unique API Keyfile
with the local path to your inputcurl -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 Guest API Key to start processing PDFs in seconds, only possible with pdfRest.