I’m using a NCD5500 module on a PROXR Lite board to control a relay. I’m trying to send commands via webhook to turn relays on and off. I can get the relays to successfully turn on and off using command sets and POSTS in POSTMAN, but it only works if I am logged in to the NCD5500 Web-i. If I am not logged in, I get a Timeout response and the relay doesn’t respond.
Here’s my curl statement:
curl --location --request POST ‘IP ADDRESS/webi_control.cgi’ \
–header ‘ISAJAX: yes’ \
–header ‘Accept-Encoding: gzip, deflate’ \
–header ‘Accept-Language: en-US, en;q=0.9’ \
–header ‘Content-Length: 20’ \
–header ‘Origin: http://IP ADDRESS’ \
–header ‘Referer: http://IP ADDRESS/’ \
–header ‘Content-Type: text/plain’ \
Do I need to authenticate in some way?