The easy to understand coding guides help you check the features without any need to write your own code. ByteScout Cloud API Server was designed to assist HTML to PDF API in cURL. ByteScout Cloud API Server is the ready to deploy Web API Server that can be deployed in less than thirty minutes into your own in-house Windows server (no Internet connnection is required to process data!) 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 built-in ByteScout powered engine, no cloud services are used to process your data!.
Want to learn quickly? These fast application programming interfaces of ByteScout Cloud API Server for cURL plus the instruction and the code below will help to learn how to convert web page to PDF from link. Open your cURL project and simply copy & paste the code and then run your app! You can use these cURL sample examples in one or many applications.
Free! Free! Free! ByteScout free trial version is available for FREE download from our website. Programming tutorials along with source code samples are assembled.
@echo off :: Path of the cURL executable set CURL="curl.exe" :: URL of web page to convert to PDF document. set SOURCE_URL=http://www.usa.gov :: 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 `Web Page to PDF` API call set QUERY="https://localhost/pdf/convert/from/url?name=%RESULT_FILE_NAME%&url=%SOURCE_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