Barcode Xpress for Node.js v13.9 - Updated
Authenticate with Accusoft REST APIs
Developer Guide > How To > Use the Barcode Scanner REST API > Authenticate with Accusoft REST APIs

To use the Barcode Scanner REST API to decode barcodes present in your image files, first upload these images to the Accusoft Cloud. Files uploaded in this way are referred to as work files and are temporarily stored for further processing. Once you have a registered account, you will be able to retrieve your API key. This API key provides a simple way to authenticate your requests to the Barcode Scanner API and other Accusoft Cloud APIs. The following example shows how you can supply your API key as the acs-api-key header on any requests made to Accusoft Cloud APIs:

var client = new HttpClient();
client.BaseAddress = new Uri(@"https://api.accusoft.com");
client.DefaultRequestHeaders.Add("acs-api-key", "YourAPIKey...");
var response = await client.PostAsync(apiEndpoint, requestContent);

Is this page helpful?
Yes No
Thanks for your feedback.