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

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

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

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

Step-by-step tutorial:How to convert PDF to HTML from URL to have PDF to HTML API in cURL

Check these thousands of pre-made source code samples for simple implementation in your own programming projects. ByteScout Cloud API Server was designed to assist PDF to HTML 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!.

This simple and easy to understand sample source code in cURL for ByteScout Cloud API Server contains different functions and options you should do calling the API to implement PDF to HTML API. This cURL sample code can be used by copying and pasting into your project. Once done,just compile your project and click Run. Enjoy writing a code with ready-to-use sample cURL codes to implement PDF to HTML API using ByteScout Cloud API Server.

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.

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

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

ConvertPdfToHtmlFromUrl.cmd
      
@echo off :: Path of the cURL executable set CURL="curl.exe" :: Direct URL of source PDF file. set SOURCE_FILE_URL=https://bytescout-com.s3.amazonaws.com/files/demo-files/cloud-api/pdf-to-html/sample.pdf :: Comma-separated list of page indices (or ranges) to process. Leave empty for all pages. Example: '0,2-5,7-'. set PAGES= :: PDF document password. Leave empty for unprotected documents. set PASSWORD= :: Result HTML file name set RESULT_FILE_NAME=result.html :: Set to `true` to get simplified HTML without CSS. Default is the rich HTML keeping the document design. set PLAIN_HTML=false :: Set to `true` if your document has the column layout like a newspaper. set COLUMN_LAYOUT=false :: 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 To HTML` API call set QUERY="https://localhost/pdf/convert/to/html?name=%RESULT_FILE_NAME%&password=%PASSWORD%&pages=%PAGES%&simple=%PLAIN_HTML%&columns=%COLUMN_LAYOUT%&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