API Requests can be made by making a POST request to /generate
The request body should be JSON similar to the below
{
"barcode_type": "code128",
"width": 600,
"height": 100,
"ecc_level": 4,
"content": "45684562"
}
barcode_type
should be one of:
width
and height
are in pixels
ecc_level
should be 1, 2, 3 or 4 where 1 is least resilient and 4 is most resilient
content
should be the value you wish the barcode to display. This may not accept all characters - that is dependent on the barcode type.
The response will be a PNG image