Quick guide:Learn how to get PDF info from URL in cURL. ByteScout Cloud API Server was designed to assist PDF information API in cURL. ByteScout Cloud API Server is the ready to use Web API Server that can be deployed in less than 30 minutes into your own in-house server or into private cloud server. Can store data on in-house local server based storage or in Amazon AWS S3 bucket. Processing data solely on the server using buil-in ByteScout powered engine, no cloud services are used to process your data!.
The SDK samples displayed below below explain how to quickly make your application do PDF information API in cURL with the help of ByteScout Cloud API Server. This sample code in cURL is all you need. Just copy-paste it to the code editor, then add a reference to ByteScout Cloud API Server and you are ready to try it! Further improvement of the code will make it more robust.
ByteScout Cloud API Server – free trial version is available on our website. Also, there are other code samples to help you with your cURL application included into trial version.
@echo off :: Path of the cURL executable set CURL="curl.exe" :: Direct URL of PDF file to get information set SOURCE_FILE_URL=https://bytescout-com.s3.amazonaws.com/files/demo-files/cloud-api/pdf-info/sample.pdf :: Please NOTE: In this sample we're assuming Cloud Api Server is hosted at "https://localhost". :: If it's not then please replace this with with your hosting url. :: Prepare URL for `PDF Info` API call set QUERY="https://localhost/pdf/info?url=%SOURCE_FILE_URL%" :: Perform request and save response to a file %CURL% -# -X GET %QUERY% >response.json :: Display the response type response.json :: Use any convenient way to parse JSON response and get information about PDF file echo. pause