The documentation is written to assist you to apply all the necessary features on your side. CSV to PDF API in cURL can be applied with ByteScout Cloud API Server. 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!.
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 CSV to PDF API. 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! Easy to understand tutorials are available along with installed ByteScout Cloud API Server if you’d like to learn more about the topic and the details of the API.
Our website provides free trial version of ByteScout Cloud API Server that gives source code samples to assist with your cURL project.
@echo off :: Path of the cURL executable set CURL="curl.exe" :: Direct URL of source CSV file. set SOURCE_FILE_URL=https://bytescout-com.s3.amazonaws.com/files/demo-files/cloud-api/csv-to-pdf/sample.csv :: 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 `CSV To PDF` API call set QUERY="https://localhost/pdf/convert/from/csv?name=%RESULT_FILE_NAME%&pages=%PAGES%&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