ByteScout Cloud API Server - DOC To PDF API - cURL - Convert DOC To PDF From URL - ByteScout

ByteScout Cloud API Server – DOC To PDF API – cURL – Convert DOC To PDF From URL

  • Home
  • /
  • Articles
  • /
  • ByteScout Cloud API Server – DOC To PDF API – cURL – Convert DOC To PDF From URL

How to convert DOC to PDF from URL for DOC to PDF API in cURL and ByteScout Cloud API Server

What is ByteScout Cloud API Server? It is API server that is ready to use and can be installed and deployed in less than 30 minutes on your own Windows server or server in a cloud. It can save data and files on your local server-based file storage or in Amazon AWS S3 storage. Data is processed solely on the API server and is powered by ByteScout engine, no cloud services or Internet connection is required for data processing..

On-demand (REST Web API) version:
 Web API (on-demand version)

On-premise offline SDK for Windows:
 60 Day Free Trial (on-premise)

ConvertDocToPdfFromUrl.cmd

      
# 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. @echo off :: Path of the cURL executable set CURL="curl.exe" :: Direct URL of source DOC or DOCX file. set SOURCE_FILE_URL=https://bytescout-com.s3.amazonaws.com/files/demo-files/cloud-api/doc-to-pdf/sample.docx :: Result PDF file name set RESULT_FILE_NAME=result.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 `DOC To PDF` API call set QUERY="https://localhost/pdf/convert/from/doc?name=%RESULT_FILE_NAME%&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 URL of generated file(s) echo. pause

VIDEO

ON-PREMISE OFFLINE SDK

Get 60 Day Free Trial

See also:

ON-DEMAND REST WEB API

Get Your API Key

See also:

Tutorials:

prev
next