Node-Red HTTP Post with ALPRD (HassIO)

Hi all

Can’t work out what I’m doing wrong with this one, trying to simply listen to a HTTP Post from ALPRD which is run on a different VMware Workstation to the HassIO build.

In Alprd config: upload_address = http://:1880/plate/
(.150 is the HassIO instance IP)
If I click just on that as a link though get an error Cannot GET /plate/ - tried using /endpoint/plate/ as well as it says url relative to /endpoint
did try doing with a folder I created but that didn’t work either

Then in Node Red I have a HTTP input node
Method POST
URL /plate/

I have a function:
msg.payload = msg.payload.results[0].plate;
return msg;

with then a debug for msg payload and an empty http response

When I run Alprd -f I get

DEBUG - Writing plate XXXXXX to queue
DEBUG - put job id: 40
401 Access Denied
INFO - Job: 40 successfully uploaded

Any idea where I’m going wrong to get the 401 error? Tried everything I could think of so far.

Very new to HTTP messaging. Obviously, nothing is pulling into the Node-Red debug message

Managed to resolve - for anyone looking

ALPRD - http://:1880/endpoint/plate

Node Red - Set as POST with URL as /plate

2 Likes