Hi.
Trying to set the message header Content-Type but I can not get it to work.
my code looks like this
msg.payload = {"action":"ARM_REQUEST"},
msg.headers = {"Content-Type":"application/vnd.assaabloy.arx.integrated-alarm-1.0+json"};
msg.headers = {Accept:"application/vnd.assaabloy.arx.integrated-alarm-1.0+json"};
return msg;
Attach a screenshot from wireshark
Any idea how to set Content-Type Correct?