Publisher HTML Sender Test Error
-
I am not sure if it's me who's doing it wrong or if there is an error.
When I hit HTTP Send Test / Send Static Data it shows "Sending..." and will stay like this until I hit cancel.
I also get the following errorWARN 2013-10-21 12:20:07,223 (com.serotonin.m2m2.web.dwr.MiscDwr.jsError:176) - Javascript error Description: TypeError: PublisherEditDwr.httpSenderTest is not a function Page: http://192.168.0.171:8080/publisher_edit.shtm?pid=1 Line: 567 Browser name: Firefox Browser version: 23 osName: Windows location: http://192.168.0.171:8080/publisher_edit.shtm?pid=1
Apart from this, what I am trying to do is to post some info via HTTP GET to a Cai WebControl board.
The URL would be
http://192.168.1.15/api/seturom.cgi?uromid=1&value=23456789
But I am using a password, so maybe
http://admin:password@192.168.1.15/api/seturom.cgi?uromid=1&value=23456789
Or using static HTTP headers. That's what I am trying to figure out.
Under Static Headers I entered
Authorization=Basic YWRtaW46cGFzc3dvcmQ=
(The string is base64 encode of "admin:password")
Is what I am doing about right?
Eventually what I am trying to do is update a value as above on a certain event (ie. HTTP Retriefer receives an alarm).
Alex