https://api.apyhub.com/generate/barcode/file
POST
application/json
Attribute | Type | Mandatory | Description |
---|---|---|---|
output | String | No | The name for the Barcode code file. If no output attribute is provided, the default file name will be output.png |
Attribute | Type | Mandatory | Description |
---|---|---|---|
content | String | Yes | Any content that you want to Barcode to point to, content length should be less then 80 characters |
Status Code | Description |
---|---|
200 | The request was successful. |
401 | Required authentication information is either missing or not valid for the resource. |
400 | Invalid input - the content is empty |
500 | If any unexpected error occurs while processing the request |
tokens
or basic authentication
mechanisms.
You can generate and view your existing credentials from your workspace settings (on the left side of the navbar) and go to “API Keys".apy-token
as the header parameter to pass the token.Authorization
header to send the basic authentication credentials.