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 with ByteScout Cloud API Server

How to convert DOC to PDF from URL for DOC to PDF API in cURL: Step By Step Instructions

Writing of the code to convert DOC to PDF from URL in cURL can be done by developers of any level using ByteScout Cloud API Server. ByteScout Cloud API Server was designed to assist DOC to PDF API in cURL. ByteScout Cloud API Server 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..

Use the code displayed below in your application to save a lot of time on writing and testing code. Follow the tutorial and copy – paste code for cURL into your project’s code editor. Enjoy writing a code with ready-to-use sample cURL codes to add DOC to PDF API functions using ByteScout Cloud API Server in cURL.

Free! Free! Free! ByteScout free trial version is available for FREE download from our website. Programming tutorials along with source code samples are assembled.

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
      
@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

ON-PREMISE OFFLINE SDK

60 Day Free Trial or Visit ByteScout Cloud API Server Home Page

Explore ByteScout Cloud API Server Documentation

Explore Samples

Sign Up for ByteScout Cloud API Server Online Training

ON-DEMAND REST WEB API

Get Your API Key

Explore Web API Docs

Explore Web API Samples

VIDEO

ON-PREMISE OFFLINE SDK

60 Day Free Trial or Visit ByteScout Cloud API Server Home Page

Explore ByteScout Cloud API Server Documentation

Explore Samples

Sign Up for ByteScout Cloud API Server Online Training

ON-DEMAND REST WEB API

Get Your API Key

Explore Web API Docs

Explore Web API Samples

Tutorials:

prev
next