Every ByteScout tool includes sample cURL source codes that you can find here or in the folder with installed ByteScout product. ByteScout Cloud API Server was designed to assist barcode generator 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 generate barcode. Follow the tutorial and copy – paste code for cURL into your project’s code editor. 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" :: Barcode type. set BARCODE_TYPE=Code128 :: Barcode value set BARCODE_VALUE=qweasd123456 :: Result image file name set RESULT_FILE_NAME=barcode.png :: 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 `Barcode Generator` API endpoint set QUERY="https://localhost/barcode/generate?name=%RESULT_FILE_NAME%&type=%BARCODE_TYPE%&value=%BARCODE_VALUE%" :: 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