If we want to send data using Node.js, we can use the following script, from https://github.com/gerhardsletten/express-openalpr-server:
POST /plates with json: { image: (base64 encoded data), country_code: 'eu', pattern_code: 'no' } returns { plate: 'DP49829', confidence: 79.758995, matches_template: 1, plate_index: 0, region: 'no', region_confidence: 0, processing_time_ms: 66.374001, requested_topn: 10, coordinates : { ... }, candidates : [ { plate: 'DP498Z9', confidence: 87.328056, matches_template: 0 }, { plate: 'DP98Z9', confidence: 83.397873, matches_template: 0 }, ... ]