Skip to end of metadata
Go to start of metadata
Contents Summary
  

Introduction

Aspose.BarCode for Cloud has provided the simplest API to generate a barcode and get image as a stream object in an easy way without using any cloud storage operation.

Resource URI

Please use Aspose.BarCode for Cloud APIs' Swagger UI to call GET /barcode/generate REST API directly from the browser. The description of important API parameters and their valid values are given below:


Parameter

Valid values

Description

type

Aspose.BarCode.Symbology values in string type: australiapost, australianposteparcel, aztec, codabar, code11, code16k,
code128, code39standard, code39extended, code93standard, code93extended, databaromnidirectional, databartruncated, databarlimited, databarexpanded, datamatrix, deutschepostidentcode,
deutschepostleitcode, ean128, ean13, ean14, ean8, iata2of5, isbn, ismn, issn, itf14, itf6, interleaved2of5, italianpost25, gs1datamatrix, msi,
macropdf417, matrix2of5, opc, onecode, pharmacode, pzn, pdf417, planet, postnet, qr, rm4scc, scc14, sscc18, singaporepost, standard2of5, swisspostparcel,
upca, upce, vin, CodablockF.

 

format

JPG, JPEG, PNG, BMP, TIFF, GIF and SVG

Optional parameter. If format query string is not provided Accept Header data is used. If both formats are not provided PNG format is used.

enableChecksum

Yes, No, Default.

Optional parameter.
Enables checksum generation. For some symbologies with obligatory checksum this property is always true. 'No' value is used if the parameter is not provided.

cURL Example

 Request
 Response

SDKs

Using an SDK (API client) is the quickest way for a developer to speed up the development. An SDK takes care of a lot of low-level details of making requests and handling responses and lets you focus on writing code specific to your particular project. Checkout our GitHub repository for a complete list of Aspose.BarCode SDKs along with working examples, to get you started in no time.

 

SDK Examples

Generate a Barcode and Get as an Image Stream

 C#
 Java
 PHP
 Ruby
 Python
 Node.js
 Android
 Objective C
 Perl

Generate a Barcode and Save Image to Local Disk

 C#
 Java
 PHP
 Ruby
 Python
 Node.js
 Objective C
 Perl

 

 

 

Labels
  • No labels